소스 검색

force layout after configuration changes

Hakim El Hattab 11 년 전
부모
커밋
d2b6ed4726
2개의 변경된 파일4개의 추가작업 그리고 5개의 파일을 삭제
  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();
+
 	}
 
 	/**

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
js/reveal.min.js


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