From 6263c0b40d04a91fa8ee2eb9e1a65a69bc7ea37d Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Thu, 18 Oct 2012 10:52:03 +0100 Subject: [PATCH] Allow keyboard input while full screen --- core/plugins/fullscreen/init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/plugins/fullscreen/init.js b/core/plugins/fullscreen/init.js index ef0bb9f83..17e216ccb 100644 --- a/core/plugins/fullscreen/init.js +++ b/core/plugins/fullscreen/init.js @@ -16,7 +16,7 @@ var toggleFullScreen = function() { if(document[$tw.browser.isFullScreen]) { document[$tw.browser.cancelFullScreen](); } else { - document.documentElement[$tw.browser.requestFullScreen](); + document.documentElement[$tw.browser.requestFullScreen](Element.ALLOW_KEYBOARD_INPUT); } };