Skip to content

Commit e90fda3

Browse files
author
Klaus Reimer
committed
Stop using ALLOW_KEYBOARD_INPUT.
In Chrome it no longer makes a difference and in Safari it doesn't help anyway (Fullscreen forms are always read-only). In older Safari the code didn't work at all so I hope this is now better.
1 parent 1b9e703 commit e90fda3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

jquery.fullscreen.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,7 @@ function fullScreen(state)
8888
|| (/** @type {?Function} */ e["mozRequestFullScreen"]);
8989
if (func)
9090
{
91-
if (Element["ALLOW_KEYBOARD_INPUT"])
92-
func.call(e, Element["ALLOW_KEYBOARD_INPUT"]);
93-
else
94-
func.call(e);
91+
func.call(e);
9592
}
9693
return this;
9794
}

0 commit comments

Comments
 (0)