|
|
@ -29,8 +29,8 @@
|
|
|
|
on = true,
|
|
|
|
on = true,
|
|
|
|
t.blur(),
|
|
|
|
t.blur(),
|
|
|
|
tmr = setInterval(() => s == 0
|
|
|
|
tmr = setInterval(() => s == 0
|
|
|
|
? (on = false, clearInterval(tmr), t.value = "")
|
|
|
|
? (on = false, clearInterval(tmr), t.value = "", document.title = "TIMER")
|
|
|
|
: t.value = (new Date(s-- * 1000)).toISOString().substr(11, 8).replace(/:/g, ':'), 1000)
|
|
|
|
: (t.value = (new Date(s-- * 1000)).toISOString().substr(11, 8).replace(/:/g, ':'), document.title = "TIMER − " + t.value), 1000)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
: 0
|
|
|
|
: 0
|
|
|
|
)
|
|
|
|
)
|
|
|
|