diff options
author | MaZderMind | 2014-11-10 00:42:56 +0100 |
---|---|---|
committer | MaZderMind | 2014-11-10 00:42:56 +0100 |
commit | 18487fff1f6a1e98eb4c97c364c2ef006b5de2b7 (patch) | |
tree | 9e8fba2156603553ad61a8b23f05612851215878 /assets | |
parent | 154bcb3ca2e91caf311134b2068addde81b97e37 (diff) |
fix program display when the event has not yet started
Diffstat (limited to 'assets')
-rw-r--r-- | assets/js/lustiges-script.js | 3 |
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'), |