mirror of
https://github.com/FlamedDogo99/EaglerMobile.git
synced 2024-11-23 04:26:04 -08:00
Fixed type check error
This commit is contained in:
parent
e4411c09a8
commit
54b32e6034
|
@ -430,7 +430,7 @@ function insertCanvasElements() {
|
||||||
}
|
}
|
||||||
}, false);
|
}, false);
|
||||||
hiddenInput.addEventListener("keydown", function(e) {
|
hiddenInput.addEventListener("keydown", function(e) {
|
||||||
if((e.keyCode = 229 || e.which = 229) && !unsafeWindow.keyboardFix) {
|
if((e.keyCode == 229 || e.which == 229) && !unsafeWindow.keyboardFix) {
|
||||||
unsafeWindow.console.warn("Switching from keydown to input events due to invalid KeyboardEvent. Some functionality will be lost.")
|
unsafeWindow.console.warn("Switching from keydown to input events due to invalid KeyboardEvent. Some functionality will be lost.")
|
||||||
unsafeWindow.keyboardFix = true;
|
unsafeWindow.keyboardFix = true;
|
||||||
if(unsafeWindow.lastKey) {
|
if(unsafeWindow.lastKey) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user