From c85599cfdd75c25ac765be89733b35422384b64c Mon Sep 17 00:00:00 2001 From: slweeb <91897291+slweeb@users.noreply.github.com> Date: Wed, 3 Apr 2024 13:42:25 -0400 Subject: [PATCH] web vital compliance --- index.html | 22 ++++++++++++++++++++-- style.css | 2 +- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 1f33f15b..cc19f843 100644 --- a/index.html +++ b/index.html @@ -15667,6 +15667,10 @@ window.onload = function() { } } } + // if the user is in an input, return + if (document.activeElement.tagName === "INPUT" || document.activeElement.tagName === "TEXTAREA") { + return; + } // [ or - = decrease the mouse size by 2 if (e.keyCode == 219 || e.keyCode == 189) { if (shiftDown) {mouseSize = 1} @@ -16219,7 +16223,21 @@ Cancer, Landmine, Grenade, Smoke Grenade">? contact@R74n.com for advertising, help, or education!
- + + +Support development by subscribing on our Patreon! Many benefits!!
diff --git a/style.css b/style.css index 4eed0378..2270dbeb 100644 --- a/style.css +++ b/style.css @@ -469,7 +469,7 @@ button, input { /*Disable double tap zoom on mobile devices*/ touch-action: manipulation; color-scheme: dark; } -select, .toggleInput, #settingsMenu input[type="number"], #settingsMenu input[type="text"], #savePromptMenu input { +select, .toggleInput, #settingsMenu input[type="number"], #settingsMenu input[type="text"], #savePromptMenu input, input[type="email"] { background-color: black; vertical-align: middle; margin-left: 5px;