fixing an initialization bug when turning off controls and progress in initialization.
This commit is contained in:
		| @@ -347,7 +347,10 @@ var Reveal = (function(){ | |||||||
|  |  | ||||||
| 		dom.wrapper.classList.add( config.transition ); | 		dom.wrapper.classList.add( config.transition ); | ||||||
|  |  | ||||||
|  | 		if (dom.controls) | ||||||
| 			dom.controls.style.display = ( config.controls && dom.controls ) ? 'block' : 'none'; | 			dom.controls.style.display = ( config.controls && dom.controls ) ? 'block' : 'none'; | ||||||
|  |  | ||||||
|  | 		if (dom.progress) | ||||||
| 			dom.progress.style.display = ( config.progress && dom.progress ) ? 'block' : 'none'; | 			dom.progress.style.display = ( config.progress && dom.progress ) ? 'block' : 'none'; | ||||||
|  |  | ||||||
| 		if( config.rtl ) { | 		if( config.rtl ) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user