Hakim El Hattab 10 年之前
父节点
当前提交
8973f0c3e1
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      js/reveal.js

+ 2 - 2
js/reveal.js

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