aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2014-03-13 15:27:42 +0200
committerJukka Jylänki <jujjyl@gmail.com>2014-03-13 15:27:42 +0200
commit0d1230df4fe5eb58aa166a21cd62b0717d1219bb (patch)
treed8a2597654ee516529c052faec3229997c77f628
parent50ecad0fcae2514333bf2437c85a206d8f4c399a (diff)
Fix typo with missing parentheses from previous commit that broke keyevents from performing deferred fullscreen/pointerlock requests.
-rw-r--r--src/library_html5.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_html5.js b/src/library_html5.js
index 5534781d..cb3ea13a 100644
--- a/src/library_html5.js
+++ b/src/library_html5.js
@@ -181,7 +181,7 @@ var LibraryJSEvents = {
var eventHandler = {
target: JSEvents.findEventTarget(target),
- allowsDeferredCalls: JSEvents.isInternetExplorer ? false : true, // MSIE doesn't allow fullscreen and pointerlock requests from key handlers, others do.
+ allowsDeferredCalls: JSEvents.isInternetExplorer() ? false : true, // MSIE doesn't allow fullscreen and pointerlock requests from key handlers, others do.
eventTypeString: eventTypeString,
callbackfunc: callbackfunc,
handlerFunc: handlerFunc,