summaryrefslogtreecommitdiffstats
path: root/static/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/script.js')
-rw-r--r--static/script.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/static/script.js b/static/script.js
index bc05fad..bcb531b 100644
--- a/static/script.js
+++ b/static/script.js
@@ -4,7 +4,7 @@ var player;
var litColor = '#eee';
var dimmedColor = '#555';
var interval;
-var timestamp = '0';
+var timestamp = '-1';
$(document).ready(function () {
$('body').click(function (e) {
@@ -68,6 +68,8 @@ function handleUpdates(data) {
break;
}
}
+ if (timestamp == '-1')
+ timestamp = '0';
getUpdates();
}