mirror of
https://github.com/FlamedDogo99/EaglerMobile.git
synced 2024-12-22 07:14:15 -08:00
Update eaglermobile.user.js
Added console logs so I can see what is happening on Android
This commit is contained in:
parent
243664634a
commit
c45e5da373
|
@ -368,7 +368,9 @@ function insertCanvasElements() {
|
|||
hiddenInput.value = " " //Allows delete to be detected before input is changed
|
||||
hiddenInput.addEventListener("input", function(e) {
|
||||
e.preventDefault(true);
|
||||
let inputData = e.data == null ? "delete" : e.data.slice(-1); // backspace makes null
|
||||
let inputData = e.data == null ? "delete" : e.data.slice(-1);
|
||||
console.log("Received input!", inputData, e.inputType)
|
||||
|
||||
window.lastKey = inputData
|
||||
hiddenInput.value = " "; // We need a character to detect deleting
|
||||
if(window.keyboardFix) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user