UPDATED - Improvement on spaces and indentation
parent
c1cb328e19
commit
ec119e79a7
|
@ -2472,8 +2472,7 @@
|
|||
// Start video playback
|
||||
var currentVideo = currentBackground.querySelector( 'video' );
|
||||
if( currentVideo ) {
|
||||
|
||||
if(currentVideo.readyState >1){
|
||||
if(currentVideo.readyState > 1){
|
||||
currentVideo.currentTime = 0;
|
||||
currentVideo.play();
|
||||
}
|
||||
|
@ -2484,7 +2483,6 @@
|
|||
currentVideo.removeEventListener("loadeddata",function(){return false});
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Don't transition between identical backgrounds. This
|
||||
|
|
Loading…
Reference in New Issue