From da3180e007dd26974daa8049f810a9db57ffce9c Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 27 Mar 2016 11:13:34 +0200 Subject: don't show past talks als "now running" --- assets/js/lustiges-script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assets/js') diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js index 25bba91..adb785a 100644 --- a/assets/js/lustiges-script.js +++ b/assets/js/lustiges-script.js @@ -212,7 +212,7 @@ $(function() { if(!talk.room_known) return; - if(talk.start < now) + if(talk.start < now && talk.end > now) currentTalk = talk; if(!nextTalk && !talk.special && talk.start > now) -- cgit v1.2.3