mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-26 12:41:23 +01:00
Fix in the rockstar count.
This commit is contained in:
parent
554378b49b
commit
3ceb2f7847
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ layout: compress
|
||||||
rockstarSpeakers.sort(function() {return 0.5 - Math.random()});
|
rockstarSpeakers.sort(function() {return 0.5 - Math.random()});
|
||||||
if(rockstarSpeakers.length > 0) {
|
if(rockstarSpeakers.length > 0) {
|
||||||
var animationDelay = 1500,
|
var animationDelay = 1500,
|
||||||
count = {{ site.rockstarSpeakersCount }},
|
count = Math.min({{ site.rockstarSpeakersCount }}, rockstarSpeakers.length),
|
||||||
colWidth = 12/count;
|
colWidth = 12/count;
|
||||||
for(i=0; i<count; i++) {
|
for(i=0; i<count; i++) {
|
||||||
var clearfix = '<div class="clearfix visible-xs"></div>';
|
var clearfix = '<div class="clearfix visible-xs"></div>';
|
||||||
|
|
Loading…
Reference in a new issue