From ec0c74421302d1f10378372c23dc5c3e0cee091f Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 13 Nov 2012 09:37:27 -0500 Subject: disable hiding of address bar on android, caused vertical centering issues --- js/reveal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/reveal.js') diff --git a/js/reveal.js b/js/reveal.js index 1c4f235..751cb8e 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -196,7 +196,7 @@ var Reveal = (function(){ * Hides the address bar if we're on a mobile device. */ function hideAddressBar() { - if( navigator.userAgent.match( /(iphone|ipod|android)/i ) ) { + if( navigator.userAgent.match( /(iphone|ipod)/i ) ) { // Give the page some scrollable overflow document.documentElement.style.overflow = 'scroll'; document.body.style.height = '120%'; -- cgit v1.2.3