Permalink
Browse files

Fix in the rockstar count.

  • Loading branch information...
tasomaniac committed Feb 23, 2015
1 parent 554378b commit 3ceb2f7847f1c9f17cc0c25836d4c31eb8dc3093
Showing with 1 addition and 1 deletion.
  1. +1 −1 _layouts/default.html
View
@@ -95,7 +95,7 @@
rockstarSpeakers.sort(function() {return 0.5 - Math.random()});
if(rockstarSpeakers.length > 0) {
var animationDelay = 1500,
count = {{ site.rockstarSpeakersCount }},
count = Math.min({{ site.rockstarSpeakersCount }}, rockstarSpeakers.length),
colWidth = 12/count;
for(i=0; i<count; i++) {
var clearfix = '<div class="clearfix visible-xs"></div>';

0 comments on commit 3ceb2f7

Please sign in to comment.