aboutsummaryrefslogtreecommitdiff
path: root/assets/js
diff options
context:
space:
mode:
authorMaZderMind2014-12-26 01:50:17 +0100
committerMaZderMind2014-12-26 01:50:17 +0100
commite39a3c5a1f46a0a9a8ba64a7de33e0e7a25d2efa (patch)
tree2dbef11724a38053773e299d93235123c6db6fb6 /assets/js
parentd76854a4800df84f325d89e499d70bb0b121e4a1 (diff)
fix script-errors after closing
Diffstat (limited to 'assets/js')
-rw-r--r--assets/js/lustiges-script.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js
index 322c69e..48d85ef 100644
--- a/assets/js/lustiges-script.js
+++ b/assets/js/lustiges-script.js
@@ -360,7 +360,7 @@ $(function() {
});
- var s = new Date(nextTalk.start*1000);
+ var s = nextTalk ? new Date(nextTalk.start*1000) : new Date();
$lecture.find('.'+room)
.find('.current-talk')
.removeClass('hidden')