Merge pull request #59 from gdgistanbul/fix/rockstar-count

Fix in the rockstar count.
This commit is contained in:
Vitaliy 2015-02-23 18:14:53 +01:00
commit eb908247f3

View file

@ -95,7 +95,7 @@ layout: compress
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>';