aboutsummaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-03-21 23:27:44 +0000
committerGravatar Gareth Coles <[email protected]>2018-03-21 23:27:44 +0000
commitfc3af8ad10471767893b8322da0b92e44c3836a9 (patch)
tree91215f852a3b81f8d46440b111658ef4d8c269ee /static
parentSome front-page restyling (diff)
Prevent countdown popup from suddenly expanding on load, and add a small piece of text about dismissing it
Diffstat (limited to 'static')
-rw-r--r--static/js/countdown.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/static/js/countdown.js b/static/js/countdown.js
index e27fbcc6..3bed818b 100644
--- a/static/js/countdown.js
+++ b/static/js/countdown.js
@@ -15,7 +15,8 @@
+ " <span id=\"countdown-title\" class=\"uk-text-center\">"
+ " <a href=\"/info/jams\">Code Jam</a> Countdown"
+ " </span>"
- + " <p class='uk-text-large' id=\"countdown-remaining\"></p>"
+ + " <p class='uk-text-large' id=\"countdown-remaining\">...</p>"
+ + "<small style='font-size: 0.6em;'>(Tap/click to dismiss)</small>"
+ "</div>",
pos: "bottom-right",
timeout: endjam - now