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

Line 37: Line 37:
 
if ($('#myCarousel video').length != 0)
 
if ($('#myCarousel video').length != 0)
 
{  
 
{  
     var ret = $('.carousel').carousel('pause');
+
     var ret = $('.carousel').carousel({
 +
    pause: true,
 +
    interval: false
 +
});
 
     console.log("paused as we have videos: ", ret);
 
     console.log("paused as we have videos: ", ret);
 
} else {
 
} else {

Revision as of 22:52, 7 September 2015