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

edit
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. * Hides the address bar if we're on a mobile device.
*/ */
function hideAddressBar() { function hideAddressBar() {
if( navigator.userAgent.match( /(iphone|ipod|android)/i ) ) { if( navigator.userAgent.match( /(iphone|ipod)/i ) ) {
// Give the page some scrollable overflow // Give the page some scrollable overflow
document.documentElement.style.overflow = 'scroll'; document.documentElement.style.overflow = 'scroll';
document.body.style.height = '120%'; document.body.style.height = '120%';

4
js/reveal.min.js vendored

File diff suppressed because one or more lines are too long