diff options
Diffstat (limited to '')
-rw-r--r-- | assets/js/lustiges-script.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js index adb785a..62c94be 100644 --- a/assets/js/lustiges-script.js +++ b/assets/js/lustiges-script.js @@ -51,7 +51,7 @@ $(function() { // schedule-timeline $(function() { var - $schedule = $('.schedule'), + $schedule = $('body .schedule'), $now = $schedule.find('.now'), scrollLock = false, rewindTimeout, @@ -156,7 +156,7 @@ $(function() { clearInterval(updateInterval); } - if(window.location.hash == '#schedule') + if(window.location.hash == '#schedule' || window.location.href.indexOf('/schedule') != -1) on(); // trigger when a tab was changed |