Difference between revisions of "Template:IONIS Paris/JS"

Line 35: Line 35:
 
if ($('#myCarousel video') != [])
 
if ($('#myCarousel video') != [])
 
{  
 
{  
     $('#myCarousel').carousel('pause');
+
     var ret = $('#myCarousel').carousel('pause');
     console.log("paused as we have videos");
+
     console.log("paused as we have videos: ", ret);
 
} else {
 
} else {
 
     console.log("no video, let's roll!");
 
     console.log("no video, let's roll!");
 +
    $('#myCarousel').carousel('cycle');
 
}
 
}
  

Revision as of 16:23, 7 September 2015