aboutsummaryrefslogtreecommitdiff
path: root/assets/js
diff options
context:
space:
mode:
authorMaZderMind2016-12-10 18:23:06 +0100
committerMaZderMind2016-12-10 18:26:34 +0100
commit34fd28abd6a4da827e1d3d80b71308d7e2a36a28 (patch)
tree0a9c61a398879d80ee02cf53b970b09452e12d84 /assets/js
parent51ee8234fa7d8c2fbda0705563ab724746dfe9ce (diff)
remove unised offsetting in js
Diffstat (limited to 'assets/js')
-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;