mirror of
https://github.com/FlamedDogo99/EaglerMobile.git
synced 2024-11-24 04:56:04 -08:00
Added position:absolute
This commit is contained in:
parent
6d60d94001
commit
fa12e9bcee
|
@ -361,7 +361,7 @@ function insertCanvasElements() {
|
||||||
let hiddenInput = document.createElement('input', true);
|
let hiddenInput = document.createElement('input', true);
|
||||||
hiddenInput.id = "hiddenInput"
|
hiddenInput.id = "hiddenInput"
|
||||||
hiddenInput.classList.add("inMenu")
|
hiddenInput.classList.add("inMenu")
|
||||||
hiddenInput.style.cssText = "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";
|
||||||
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(e) {
|
hiddenInput.addEventListener("input", function(e) {
|
||||||
hiddenInput.value = " "; // We need a character to detect deleting
|
hiddenInput.value = " "; // We need a character to detect deleting
|
||||||
|
|
Loading…
Reference in New Issue
Block a user