Skip to content

Commit 888a01a

Browse files
committed
Added Element.ALLOW_KEYBOARD_INPUT parameter to enable keyboard input in
fullscreen mode. As long as this is a webkit-only feature it will be hardcoded. When other browsers adopt this feature as well then I'm going to make it configurable. (Closes #10)
1 parent 8a5d5fc commit 888a01a

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

fullscreen.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"keywords": [
66
"fullscreen"
77
],
8-
"version": "1.1.3",
8+
"version": "1.1.4",
99
"author": {
1010
"name": "Klaus Reimer",
1111
"email": "k@ailis.de"

jquery.fullscreen-min.js

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jquery.fullscreen.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @preserve jquery.fullscreen 1.1.3
2+
* @preserve jquery.fullscreen 1.1.4
33
* https://github.com/kayahr/jquery-fullscreen-plugin
44
* Copyright (C) 2012 Klaus Reimer <k@ailis.de>
55
* Licensed under the MIT license
@@ -79,7 +79,7 @@ function fullScreen(state)
7979
func = (/** @type {?Function} */ e["requestFullScreen"])
8080
|| (/** @type {?Function} */ e["webkitRequestFullScreen"])
8181
|| (/** @type {?Function} */ e["mozRequestFullScreen"]);
82-
if (func) func.call(e);
82+
if (func) func.call(e, Element["ALLOW_KEYBOARD_INPUT"]);
8383
return this;
8484
}
8585
else

0 commit comments

Comments
 (0)