فهرست منبع

fix issue in browsers that don't support classList

Hakim El Hattab 11 سال پیش
والد
کامیت
551c783b72
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  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();
 

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
js/reveal.min.js


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است