소스 검색

don't increase body height to try and hide address bar, caused issues in ios 7 safari

Hakim El Hattab 11 년 전
부모
커밋
2736945385
2개의 변경된 파일1개의 추가작업 그리고 11개의 파일을 삭제
  1. 0 10
      js/reveal.js
  2. 1 1
      js/reveal.min.js

+ 0 - 10
js/reveal.js

@@ -858,16 +858,6 @@ var Reveal = (function(){
 	 */
 	function removeAddressBar() {
 
-		// Portrait and not Chrome for iOS
-		if( window.orientation === 0 && !/crios/gi.test( navigator.userAgent ) ) {
-			document.documentElement.style.overflow = 'scroll';
-			document.body.style.height = '120%';
-		}
-		else {
-			document.documentElement.style.overflow = '';
-			document.body.style.height = '100%';
-		}
-
 		setTimeout( function() {
 			window.scrollTo( 0, 1 );
 		}, 10 );

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


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