1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-13 10:04:45 +02:00
This commit is contained in:
Hakim El Hattab
2014-06-05 10:59:30 +02:00
parent c5daba6a1f
commit 8973f0c3e1

View File

@@ -112,7 +112,7 @@
postMessageEvents: false, postMessageEvents: false,
// Focuses body when page changes visiblity to ensure keyboard shortcuts work // Focuses body when page changes visiblity to ensure keyboard shortcuts work
focusBodyOnPageVisiblityChange: true, focusBodyOnPageVisibilityChange: true,
// Theme (see /css/theme) // Theme (see /css/theme)
theme: null, theme: null,
@@ -842,7 +842,7 @@
dom.progress.addEventListener( 'click', onProgressClicked, false ); dom.progress.addEventListener( 'click', onProgressClicked, false );
} }
if( config.focusBodyOnPageVisiblityChange ) { if( config.focusBodyOnPageVisibilityChange ) {
var visibilityChange; var visibilityChange;
if( 'hidden' in document ) { if( 'hidden' in document ) {