reveal.js/js/reveal.js in reveal-ck-0.1.7 vs reveal.js/js/reveal.js in reveal-ck-0.1.8
- old
+ new
@@ -72,10 +72,13 @@
mouseWheel: false,
// Apply a 3D roll to links on hover
rollingLinks: false,
+ // Hides the address bar on mobile devices
+ hideAddressBar: true,
+
// Opens links in an iframe preview overlay
previewLinks: false,
// Theme (see /css/theme)
theme: null,
@@ -765,10 +768,10 @@
/**
* Hides the address bar if we're on a mobile device.
*/
function hideAddressBar() {
- if( isMobileDevice ) {
+ if( config.hideAddressBar && isMobileDevice ) {
// Events that should trigger the address bar to hide
window.addEventListener( 'load', removeAddressBar, false );
window.addEventListener( 'orientationchange', removeAddressBar, false );
}