소스 검색

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


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.