diff options
author | MaZderMind | 2014-12-26 01:50:17 +0100 |
---|---|---|
committer | MaZderMind | 2014-12-26 01:50:17 +0100 |
commit | e39a3c5a1f46a0a9a8ba64a7de33e0e7a25d2efa (patch) | |
tree | 2dbef11724a38053773e299d93235123c6db6fb6 /assets/js | |
parent | d76854a4800df84f325d89e499d70bb0b121e4a1 (diff) |
fix script-errors after closing
Diffstat (limited to '')
-rw-r--r-- | assets/js/lustiges-script.js | 2 |
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') |