commit e78fe16457a5f7911d4e616c9543c43daa398676
parent 562fde9e2e63e0cccf1a09dc7b9cbab47798b213
Author: Katja (ctucx) <git@ctu.cx>
Date: Tue, 22 Apr 2025 12:18:32 +0200
parent 562fde9e2e63e0cccf1a09dc7b9cbab47798b213
Author: Katja (ctucx) <git@ctu.cx>
Date: Tue, 22 Apr 2025 12:18:32 +0200
searchView: fix if statement
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/searchView.js b/src/searchView.js @@ -314,7 +314,7 @@ class SearchView extends BaseView { this.location[name].suggestionSelected = this.location[name].suggestions[num]; this.location[name].suggestionsVisible = false; this.requestUpdate(); - if (pointerType !== '') this.focusNextElement(name); + if (pointerType) this.focusNextElement(name); }; profileChangeHandler = async () => {