aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind2015-03-11 15:39:48 +0100
committerMaZderMind2015-03-11 15:41:04 +0100
commit599f936048484e3d239e8f8ed38d26cff9f74092 (patch)
tree611b9c820b49d1105cd81fa7cc7a6171dc0f279b
parent007f5c56af457ef76577060079addabf4751f0e2 (diff)
Fix Startpage-Schedule
Diffstat (limited to '')
-rw-r--r--assets/js/lustiges-script.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js
index 96e9f2c..73e021b 100644
--- a/assets/js/lustiges-script.js
+++ b/assets/js/lustiges-script.js
@@ -309,7 +309,10 @@ $(function() {
updateTimer = 5*1000, /* update display every 5 seconds */
refetchTimer = 10*60*1000, /* re-request current / upcoming program every 10 minutes */
programData = {},
- $lecture = $('.rooms .lecture');
+ $lecture = $('.room.has-schedule'),
+
+ /* offset to the browsers realtime (for simulation) */
+ offset = $('.js-settings').data('scheduleoffset');;
if($lecture.length == 0)
@@ -350,7 +353,7 @@ $(function() {
});
var s = nextTalk ? new Date(nextTalk.start*1000) : new Date();
- $lecture.find('.'+room)
+ $lecture.filter('.room-'+room)
.find('.current-talk')
.removeClass('hidden')
.find('.t')