Bladeren bron

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

Hakim El Hattab 12 jaren geleden
bovenliggende
commit
ec0c744213
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 1 1
      js/reveal.js
  2. 1 1
      js/reveal.min.js

+ 1 - 1
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%';

File diff suppressed because it is too large
+ 1 - 1
js/reveal.min.js


Some files were not shown because too many files changed in this diff