diff options
Diffstat (limited to 'assets/js/lustiges-script.js')
-rw-r--r-- | assets/js/lustiges-script.js | 8 |
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; |