aboutsummaryrefslogtreecommitdiff
path: root/website/resources
diff options
context:
space:
mode:
Diffstat (limited to 'website/resources')
-rw-r--r--website/resources/js/supporters.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/website/resources/js/supporters.js b/website/resources/js/supporters.js
index 11f77640..07319226 100644
--- a/website/resources/js/supporters.js
+++ b/website/resources/js/supporters.js
@@ -153,6 +153,8 @@
shuffle(list);
var len = list.length;
+ if (!len) return;
+
var pos = 0;
var c = [], cd = [];
for (var i = 0; i < supPerBar; i++) {