BUGFIX in JS

This commit is contained in:
Simon Martens
2024-01-25 19:50:12 +01:00
parent 1a13383657
commit cf1b45816e
2 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ const startup_search = function () {
const ACTIVATESEARCHFILTER = function (filter, button) {
let f = filter.value;
if (f === "") {
if (!f || !button) {
button.disabled = true;
return;
}