Skip to content

Commit 3ceb2f7

Browse files
committed
Fix in the rockstar count.
1 parent 554378b commit 3ceb2f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_layouts/default.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
rockstarSpeakers.sort(function() {return 0.5 - Math.random()});
9696
if(rockstarSpeakers.length > 0) {
9797
var animationDelay = 1500,
98-
count = {{ site.rockstarSpeakersCount }},
98+
count = Math.min({{ site.rockstarSpeakersCount }}, rockstarSpeakers.length),
9999
colWidth = 12/count;
100100
for(i=0; i<count; i++) {
101101
var clearfix = '<div class="clearfix visible-xs"></div>';

0 commit comments

Comments
 (0)