aboutsummaryrefslogtreecommitdiff
path: root/assets/js/lustiges-script.js
diff options
context:
space:
mode:
authorMaZderMind2016-12-10 18:27:07 +0100
committerMaZderMind2016-12-10 18:27:07 +0100
commit0c3fca54cfce9c595f713b0e0d62e1300ca05045 (patch)
tree2c29f08a379f66d6773f528a06af5f1f37cbe49a /assets/js/lustiges-script.js
parent51ee8234fa7d8c2fbda0705563ab724746dfe9ce (diff)
parent751c58ebf7e8e6ea20b5f5116866f065e52ea1a2 (diff)
Merge branch 'cleanups'
Diffstat (limited to '')
-rw-r--r--assets/js/lustiges-script.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js
index 7f22766..78b8758 100644
--- a/assets/js/lustiges-script.js
+++ b/assets/js/lustiges-script.js
@@ -182,11 +182,7 @@ $(function() {
updateTimer = 5*1000, /* update display every 5 seconds */
refetchTimer = 10*60*1000, /* re-request current / upcoming schedule every 10 minutes */
scheduleData = {},
- $lecture = $('.room.has-schedule'),
-
- /* offset to the browsers realtime (for simulation) */
- offset = $('.js-settings').data('scheduleoffset');;
-
+ $lecture = $('.room.has-schedule');
if($lecture.length == 0)
return;
@@ -210,7 +206,7 @@ $(function() {
function updateProgtamTeaser() {
var
// corrected "now" timestamp in unix-counting (seconds, not microseconds)
- now = (Date.now() / 1000) + offset;
+ now = (Date.now() / 1000);
$.each(scheduleData, function(room, talks) {
var currentTalk, nextTalk;