aboutsummaryrefslogtreecommitdiff
path: root/assets/js
diff options
context:
space:
mode:
authorMaZderMind2014-11-10 00:42:56 +0100
committerMaZderMind2014-11-10 00:42:56 +0100
commit18487fff1f6a1e98eb4c97c364c2ef006b5de2b7 (patch)
tree9e8fba2156603553ad61a8b23f05612851215878 /assets/js
parent154bcb3ca2e91caf311134b2068addde81b97e37 (diff)
fix program display when the event has not yet started
Diffstat (limited to 'assets/js')
-rw-r--r--assets/js/lustiges-script.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js
index 6085129..bf186f8 100644
--- a/assets/js/lustiges-script.js
+++ b/assets/js/lustiges-script.js
@@ -90,6 +90,9 @@ $(function() {
return $(this).data('start') < now;
}).last();
+ if($block.length == 0)
+ return $now.css('width', 0);
+
var
// start & end-timestamp
start = $block.data('start'),