mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-26 04:31:22 +01:00
Merge pull request #59 from gdgistanbul/fix/rockstar-count
Fix in the rockstar count.
This commit is contained in:
commit
eb908247f3
1 changed files with 1 additions and 1 deletions
|
@ -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>';
|
||||
|
|
Loading…
Reference in a new issue