aboutsummaryrefslogtreecommitdiff
path: root/assets/js
diff options
context:
space:
mode:
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'),