diff options
author | Hakim El Hattab | 2013-03-30 22:54:57 -0400 |
---|---|---|
committer | Hakim El Hattab | 2013-03-30 22:54:57 -0400 |
commit | 6ece551f8aeedff2c62fdd447240a844b2948c05 (patch) | |
tree | 5461cd6706fdca1c74f9f9578f31e740621e2ff0 /js/reveal.js | |
parent | 53534043615c4b2bf0959f3a2f56a92deeda28c4 (diff) |
always construct controls and progress bar at startup (closes #384)
Diffstat (limited to 'js/reveal.js')
-rw-r--r-- | js/reveal.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/reveal.js b/js/reveal.js index 14d8289..8d48814 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -181,7 +181,7 @@ var Reveal = (function(){ dom.slides = document.querySelector( '.reveal .slides' ); // Progress bar - if( !dom.wrapper.querySelector( '.progress' ) && config.progress ) { + if( !dom.wrapper.querySelector( '.progress' ) ) { var progressElement = document.createElement( 'div' ); progressElement.classList.add( 'progress' ); progressElement.innerHTML = '<span></span>'; @@ -189,7 +189,7 @@ var Reveal = (function(){ } // Arrow controls - if( !dom.wrapper.querySelector( '.controls' ) && config.controls ) { + if( !dom.wrapper.querySelector( '.controls' ) ) { var controlsElement = document.createElement( 'aside' ); controlsElement.classList.add( 'controls' ); controlsElement.innerHTML = '<div class="navigate-left"></div>' + |