From c974756326b25d14be3d5cd31e400a2b8e63ac3c Mon Sep 17 00:00:00 2001
From: Hakim El Hattab <hakim.elhattab@gmail.com>
Date: Sat, 17 May 2014 16:00:40 +0200
Subject: [PATCH] relax keyboard blocking condition #899

---
 js/reveal.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/js/reveal.js b/js/reveal.js
index 1ff0dcb..a1d9caa 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -3213,8 +3213,7 @@
 
 		// Check if there's a focused element that could be using
 		// the keyboard
-		var activeElement = document.activeElement;
-		var hasFocus = !!( document.activeElement && ( document.activeElement.type || document.activeElement.href || document.activeElement.contentEditable !== 'inherit' ) );
+		var hasFocus = !!( document.activeElement && ( document.activeElement.type || document.activeElement.contentEditable !== 'inherit' ) );
 
 		// Disregard the event if there's a focused element or a
 		// keyboard modifier key is present
-- 
GitLab