js/reveal.js
/**
	 * Hides the address bar if we're on a mobile device.
	 */
Hides the address bar if we're on a mobile device.
Hides the address bar if we ' re on a mobile device .
function hideAddressBar() {
		if( navigator.userAgent.match( /(iphone|ipod|android)/i ) ) {
			document.documentElement.style.overflow = 'scroll';
			document.body.style.height = '120%';
			window.addEventListener( 'load', removeAddressBar, false );
			window.addEventListener( 'orientationchange', removeAddressBar, false );
		}
	}
function hideAddressBar ( ) { if ( navigator . userAgent . match ( / (iphone|ipod|android) / i ) ) { document . documentElement . style . overflow = 'scroll' ; document . body . style . height = '120%' ; window . addEventListener ( 'load' , removeAddressBar , false ) ; window . addEventListener ( 'orientationchange' , removeAddressBar , false ) ; } }
Hides the address bar if we're on a mobile device.
Hides the address bar if we ' re on a mobile device .
// Give the page some scrollable overflow // Events that should trigger the address bar to hide