mirror of
https://github.com/PaddiM8/kalker.git
synced 2024-12-13 01:50:41 +01:00
web: Don't submit empty input
This commit is contained in:
parent
224c320a3e
commit
9f902b5ab1
@ -139,6 +139,10 @@
|
||||
const input = inputElement.value;
|
||||
let output: string;
|
||||
|
||||
if (input == "") {
|
||||
return;
|
||||
}
|
||||
|
||||
if (input.trim() == "help") {
|
||||
output = `<a style="color: ${linkcolor}"
|
||||
href="https://kalker.xyz/#usage"
|
||||
|
Loading…
Reference in New Issue
Block a user