disable hiding of address bar on android, caused vertical centering issues
This commit is contained in:
parent
4fbec5e87d
commit
ec0c744213
2 changed files with 3 additions and 3 deletions
|
@ -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
4
js/reveal.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue