summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAlex Batista2015-09-29 15:18:17 -0300
committerAlex Batista2015-09-29 15:18:17 -0300
commitb0d6e5578f50483abff747d200146baa401de11e (patch)
treee035bc291fd83e1c94756fbb48da5ddc8155bfdd
parentbcfd0aae3c007d972ac380d72e79dfdd3a5d08e0 (diff)
improvement on spaces and indentation
-rw-r--r--js/reveal.js4
1 files 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();