mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 14:44:21 +00:00
fix script-errors after closing
This commit is contained in:
parent
d76854a480
commit
e39a3c5a1f
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue