mirror of
https://github.com/FlamedDogo99/EaglerMobile.git
synced 2024-11-24 04:56:04 -08:00
Added extra “?”
This commit is contained in:
parent
df6beeaa05
commit
1da82869d4
|
@ -373,7 +373,7 @@ function insertCanvasElements() {
|
||||||
hiddenInput.style.cssText = "position:absolute;top: 0vh; margin: auto; left: 8vh; right:0vh; width: 8vh; height: 8vh;font-size:20px;z-index:-10;color: transparent;text-shadow: 0 0 0 black;";
|
hiddenInput.style.cssText = "position:absolute;top: 0vh; margin: auto; left: 8vh; right:0vh; width: 8vh; height: 8vh;font-size:20px;z-index:-10;color: transparent;text-shadow: 0 0 0 black;";
|
||||||
hiddenInput.value = " " //Allows delete to be detected before input is changed
|
hiddenInput.value = " " //Allows delete to be detected before input is changed
|
||||||
hiddenInput.addEventListener("input", function hiddenInputHandler(e) {
|
hiddenInput.addEventListener("input", function hiddenInputHandler(e) {
|
||||||
let inputData = e.data ? "delete" // backspace makes null
|
let inputData = e.data ?? "delete"; // backspace makes null
|
||||||
window.lastKey = inputData
|
window.lastKey = inputData
|
||||||
hiddenInput.value = " "; // We need a character to detect deleting
|
hiddenInput.value = " "; // We need a character to detect deleting
|
||||||
if(window.keyboardFix) {
|
if(window.keyboardFix) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user