diff --git a/assets/js/autocomplete.ts b/assets/js/autocomplete.ts index 489392c3..6a8c560e 100644 --- a/assets/js/autocomplete.ts +++ b/assets/js/autocomplete.ts @@ -25,6 +25,7 @@ function restoreOriginalValue() { if (isSearchField(inputField) && originalQuery) { inputField.value = originalQuery; + return; } if (originalTerm) {