summaryrefslogtreecommitdiff
path: root/wwwroot
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2023-10-09 17:50:12 +1100
committerJake Mannens <jake@asger.xyz>2023-10-09 17:50:12 +1100
commitea89ec0c1b05ac246f2ffd5907daace27564100b (patch)
tree39d870b5167e0cab112a85dadcd8d8e67785b446 /wwwroot
parent36757ad31901cce4bb55f4911a28bb63ee1dee7a (diff)
parent299e58db28202be8706dee1c570c382e1489213b (diff)
Merge branch 'security' of gitlab.com:plasmicplexus/HyperBooru-Server into security
Diffstat (limited to 'wwwroot')
-rw-r--r--wwwroot/js/keyboard.js2
-rw-r--r--wwwroot/styles/global.css3
2 files changed, 2 insertions, 3 deletions
diff --git a/wwwroot/js/keyboard.js b/wwwroot/js/keyboard.js
index 6ba9f9f..8086418 100644
--- a/wwwroot/js/keyboard.js
+++ b/wwwroot/js/keyboard.js
@@ -20,7 +20,6 @@ async function keyDownHandler(e) {
.find(d => d.element == element)
.dialogObject
.invokeMethodAsync('KeyHandler', e.key);
- console.log('lmao');
e.preventDefault();
return;
}
@@ -32,7 +31,6 @@ async function keyDownHandler(e) {
if(button) {
button.click();
- console.log('lmao2');
e.preventDefault();
return;
}
diff --git a/wwwroot/styles/global.css b/wwwroot/styles/global.css
index 5e46d37..09bbcbf 100644
--- a/wwwroot/styles/global.css
+++ b/wwwroot/styles/global.css
@@ -95,8 +95,9 @@ input[type="checkbox"] {
}
button:disabled {
- color: var(--col-button-disabled) !important;
background: var(--col-button-disabled-bg) !important;
+ color: var(--col-button-disabled) !important;
+ cursor: not-allowed;
}
button.warning {