From 8973f0c3e19ffafee489a3dcfce03303120ed22b Mon Sep 17 00:00:00 2001
From: Hakim El Hattab <hakim.elhattab@gmail.com>
Date: Thu, 5 Jun 2014 10:59:30 +0200
Subject: [PATCH] typo #938

---
 js/reveal.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/js/reveal.js b/js/reveal.js
index d9451cb..68d29a8 100644
--- a/js/reveal.js
+++ b/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 ) {