diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-01-26 23:18:15 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-01-26 23:18:15 -0800 |
commit | ea802fc11d95370fdb029b426b84aa32ac5da20e (patch) | |
tree | 01539a284340d9b1434bf7847f4557c83884026d /pages/home.php | |
parent | 496734b8613a2a8755055cc7b2e8e0b556fd1a67 (diff) | |
download | pathery-ea802fc11d95370fdb029b426b84aa32ac5da20e.tar.xz |
quick fix on missing totalSeconds.
Diffstat (limited to 'pages/home.php')
-rw-r--r-- | pages/home.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pages/home.php b/pages/home.php index 66b48e5..7898a3c 100644 --- a/pages/home.php +++ b/pages/home.php @@ -313,7 +313,8 @@ $timeUntilNewWeeklyMap = strtotime(getNextWeeklyMapDateTime()) - strtotime("now" }
document.getElementById("countdown").innerHTML = newMapStr;
- if (totalSeconds <= 1 && userConfirm == true) {
+ //TODO: It would not be very hard to dynamically load the new map w/o refresh.
+ if (timerem <= 1 && userConfirm == true) {
userConfirm = confirm("It's Tomorrow Today! Go to new maps?")
if (userConfirm) {
location.reload(true);
|