diff options
author | Hakim El Hattab | 2012-11-13 09:37:27 -0500 |
---|---|---|
committer | Hakim El Hattab | 2012-11-13 09:37:27 -0500 |
commit | ec0c74421302d1f10378372c23dc5c3e0cee091f (patch) | |
tree | ce2876cab42d40f20b1ed2980a207e5b88dfb38c /js/reveal.js | |
parent | 4fbec5e87d3797b93b8fae750c5ce6519cddfa3b (diff) |
disable hiding of address bar on android, caused vertical centering issues
Diffstat (limited to 'js/reveal.js')
-rw-r--r-- | js/reveal.js | 2 |
1 files changed, 1 insertions, 1 deletions
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%'; |