summaryrefslogtreecommitdiffhomepage
path: root/js/reveal.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 323d401..27c0fd6 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -347,11 +347,13 @@ var Reveal = (function(){
dom.wrapper.classList.add( config.transition );
- if (dom.controls)
+ if( dom.controls ) {
dom.controls.style.display = ( config.controls && dom.controls ) ? 'block' : 'none';
+ }
- if (dom.progress)
+ if( dom.progress ) {
dom.progress.style.display = ( config.progress && dom.progress ) ? 'block' : 'none';
+ }
if( config.rtl ) {
dom.wrapper.classList.add( 'rtl' );