|
|
@ -27,6 +27,7 @@
|
|
|
|
(e, s = t.value.split(':').reduce((a, x) => (60 * a) + +x)) => e.keyCode == 13 && !on
|
|
|
|
(e, s = t.value.split(':').reduce((a, x) => (60 * a) + +x)) => e.keyCode == 13 && !on
|
|
|
|
? (
|
|
|
|
? (
|
|
|
|
on = true,
|
|
|
|
on = true,
|
|
|
|
|
|
|
|
t.blur(),
|
|
|
|
tmr = setInterval(() => s == 0
|
|
|
|
tmr = setInterval(() => s == 0
|
|
|
|
? (on = false, clearInterval(tmr), t.value = "")
|
|
|
|
? (on = false, clearInterval(tmr), t.value = "")
|
|
|
|
: 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, ' : '), 1000)
|
|
|
|