summaryrefslogtreecommitdiff
path: root/to
diff options
context:
space:
mode:
authors1n <[email protected]>2019-10-31 12:43:52 -0700
committerGitHub <[email protected]>2019-10-31 12:43:52 -0700
commit34510ee2f5fab7602737508c24771ee8d97f4859 (patch)
treea2c0c667782f278c6034a00a09f1f15be15565b2 /to
parentinstant download (diff)
downloads1n.pw-admin-34510ee2f5fab7602737508c24771ee8d97f4859.tar.xz
s1n.pw-admin-34510ee2f5fab7602737508c24771ee8d97f4859.zip
Update countdown.js
Diffstat (limited to 'to')
-rw-r--r--to/js/countdown.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/to/js/countdown.js b/to/js/countdown.js
index 9312d8a..5fc3039 100644
--- a/to/js/countdown.js
+++ b/to/js/countdown.js
@@ -12,7 +12,7 @@ function startTimer(duration, display) {
// Original with minutes
// display.textContent = minutes + ":" + seconds;
- if (--timer < 0) {
+ if (--timer < 0*60) {
timer = duration;
}
}, 1000);
@@ -22,4 +22,4 @@ window.onload = function () {
var fiveMinutes = 4 * 1, // 60 * 5
display = document.querySelector('#time');
startTimer(fiveMinutes, display);
-}; \ No newline at end of file
+};