Explorar el Código

fix issue in browsers that don't support classList

Hakim El Hattab hace 11 años
padre
commit
551c783b72
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  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();
 

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
js/reveal.min.js


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio