diff --git a/eaglermobile.user.js b/eaglermobile.user.js index 27a8883..aa4a918 100644 --- a/eaglermobile.user.js +++ b/eaglermobile.user.js @@ -361,7 +361,7 @@ function insertCanvasElements() { let hiddenInput = document.createElement('input', true); hiddenInput.id = "hiddenInput" hiddenInput.classList.add("inMenu") - hiddenInput.style.cssText = "position:absolute;top: 0vh; margin: auto; left: 8vh; right:0vh; width: 8vh; height: 8vh;font-size:20px;z-index:-10"; + 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.addEventListener("input", function(e) { hiddenInput.value = " "; // We need a character to detect deleting