This commit is contained in:
2024-05-06 21:51:13 +02:00
parent a3e98a0207
commit 340ab1236e
4 changed files with 18 additions and 23 deletions
+2 -4
View File
@@ -2,10 +2,8 @@ const moment = require('moment');
const io = require('./socketio')
let timerInterval;
// let duration = moment.duration(7, 'minutes'); // Initial duration
// let durationLeft = moment.duration(7, 'minutes'); // durationLeft after the timer has been started
let duration = moment.duration(7, 'seconds');
let durationLeft = moment.duration(10, 'seconds');
let duration = moment.duration(7, 'minutes'); // Initial duration
let durationLeft = moment.duration(7, 'minutes'); // durationLeft after the timer has been started
let isPaused = true; // Status of the timer