diff options
author | 2018-03-21 22:38:54 +0000 | |
---|---|---|
committer | 2018-03-21 22:38:54 +0000 | |
commit | 4e188739d1983612f8d4387521e961492480ec40 (patch) | |
tree | 68cfdc6d8130e2d4e2085b64301eb875bd7e6465 /static | |
parent | Rewrite countdown; Now a notification present on all pages (diff) |
Reformat message arg for UIkit notification
Diffstat (limited to 'static')
-rw-r--r-- | static/js/countdown.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/static/js/countdown.js b/static/js/countdown.js index 80cfb30c..e27fbcc6 100644 --- a/static/js/countdown.js +++ b/static/js/countdown.js @@ -10,13 +10,13 @@ if (now+1000 < endjam.getTime()) { // Only do anything if the jam hasn't ended UIkit.notification( // Spawn the notification { - message: - "<div class='uk-text-center'>" + - " <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>" + - "</div>", + message: "" + + "<div class='uk-text-center'>" + + " <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>" + + "</div>", pos: "bottom-right", timeout: endjam - now } |