disable hiding of address bar on android, caused vertical centering issues

This commit is contained in:
Hakim El Hattab 2012-11-13 09:37:27 -05:00
parent 4fbec5e87d
commit ec0c744213
2 changed files with 3 additions and 3 deletions

View file

@ -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%';

4
js/reveal.min.js vendored

File diff suppressed because one or more lines are too long