aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to '')
-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')