mirror of
https://github.com/FlamedDogo99/EaglerMobile.git
synced 2024-11-09 05:56:04 -08:00
Fixed type check error
This commit is contained in:
parent
e4411c09a8
commit
54b32e6034
|
@ -430,7 +430,7 @@ function insertCanvasElements() {
|
|||
}
|
||||
}, false);
|
||||
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.keyboardFix = true;
|
||||
if(unsafeWindow.lastKey) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user