From 27369453855f6944189f66971164295da0818c12 Mon Sep 17 00:00:00 2001
From: Hakim El Hattab
Date: Fri, 18 Oct 2013 09:15:22 -0400
Subject: don't increase body height to try and hide address bar, caused issues
 in ios 7 safari

---
 js/reveal.js | 10 ----------
 1 file changed, 10 deletions(-)

(limited to 'js/reveal.js')

diff --git a/js/reveal.js b/js/reveal.js
index de254d4..d2667fd 100644
--- a/js/reveal.js
+++ b/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 );
-- 
cgit v1.2.3