1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 01:20:30 +00:00

Allow keyboard input while full screen

This commit is contained in:
Jeremy Ruston 2012-10-18 10:52:03 +01:00
parent 10ed746209
commit 6263c0b40d

View File

@ -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);
}
};