Add function to Timer - after set Stop open new entry and save it

sortierung
Samuel Zielke 1 year ago
parent c8a2dfe54f
commit 552949c744

@ -158,17 +158,6 @@ sonstigesCheck.addEventListener('change', function() {
}
});
// function newEntryAfterTimer(timerStamp) {
// const seconds = parseInt(timerStamp)
// const hours = String(Math.floor(seconds / 3600)).padStart(2, '0');
// const minutes = String(Math.floor((seconds % 3600) / 60)).padStart(2, '0');
// const secs = String(seconds % 60).padStart(2, '0');
// document.getElementById('openNewEntryForm').click()
// document.getElementById('stunden').value = hours;
// document.getElementById('minuten').value = minutes;
// console.log(secs)
// }
//

Loading…
Cancel
Save

Powered by TurnKey Linux.