Browse Source

fix issue in browsers that don't support classList

Hakim El Hattab 12 years ago
parent
commit
551c783b72
2 changed files with 3 additions and 3 deletions
  1. 3 3
      js/reveal.js
  2. 0 0
      js/reveal.min.js

+ 3 - 3
js/reveal.js

@@ -120,9 +120,6 @@ var Reveal = (function(){
 		// Copy options over to our config object
 		extend( config, options );
 
-		// Make sure we've got all the DOM elements we need
-		setupDOM();
-
 		// Hide the address bar in mobile browsers
 		hideAddressBar();
 
@@ -256,6 +253,9 @@ var Reveal = (function(){
 	 * to the current URL deeplink if there is one.
 	 */
 	function start() {
+		// Make sure we've got all the DOM elements we need
+		setupDOM();
+		
 		// Subscribe to input
 		addEventListeners();
 

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


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