From b0d6e5578f50483abff747d200146baa401de11e Mon Sep 17 00:00:00 2001 From: Alex Batista Date: Tue, 29 Sep 2015 15:18:17 -0300 Subject: [PATCH] improvement on spaces and indentation --- js/reveal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/reveal.js b/js/reveal.js index ae5810c..ce5c2b6 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -150,7 +150,6 @@ // Flags if video background is loaded loadeddataVideo = false, - // The horizontal and vertical index of the currently active slide indexh, indexv, @@ -2481,8 +2480,9 @@ currentVideo.currentTime = 0; currentVideo.play(); loadeddataVideo = true; - this.removeEventListener("loadeddata",function(){return false}); + this.removeEventListener("loadeddata",function(){return false}); }); + if(loadeddataVideo === true){ currentVideo.currentTime = 0; currentVideo.play();