From 53b9dbc65431882b9f316b4fbfe5d6cece928ad1 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Wed, 25 Feb 2015 15:52:10 +0100 Subject: [PATCH] code format --- js/reveal.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/reveal.js b/js/reveal.js index 7d3973e..3520f0c 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -2766,7 +2766,8 @@ // Videos else if ( backgroundVideo && !isSpeakerNotes() ) { var video = document.createElement( 'video' ); - if ( backgroundVideoLoop ) { + + if( backgroundVideoLoop ) { video.setAttribute( 'loop', '' ); } @@ -2778,7 +2779,7 @@ background.appendChild( video ); } // Iframes - else if ( backgroundIframe ) { + else if( backgroundIframe ) { var iframe = document.createElement( 'iframe' ); iframe.setAttribute( 'src', backgroundIframe ); iframe.style.width = '100%';