Browse Source

force layout after configuration changes

Hakim El Hattab 11 years ago
parent
commit
d2b6ed4726
2 changed files with 4 additions and 5 deletions
  1. 3 4
      js/reveal.js
  2. 1 1
      js/reveal.min.js

+ 3 - 4
js/reveal.js

@@ -313,10 +313,6 @@ var Reveal = (function(){
 		// Updates the presentation to match the current configuration values
 		configure();
 
-		// Force an initial layout, will thereafter be invoked as the window
-		// is resized
-		layout();
-
 		// Read the initial hash
 		readURL();
 
@@ -397,6 +393,9 @@ var Reveal = (function(){
 			}
 		}
 
+		// Force a layout to make sure the current config is accounted for
+		layout();
+
 	}
 
 	/**

File diff suppressed because it is too large
+ 1 - 1
js/reveal.min.js


Some files were not shown because too many files changed in this diff