diff --git a/chrome/content/zotero/elements/quickSearchTextbox.js b/chrome/content/zotero/elements/quickSearchTextbox.js index 37509798e4..51386248b5 100644 --- a/chrome/content/zotero/elements/quickSearchTextbox.js +++ b/chrome/content/zotero/elements/quickSearchTextbox.js @@ -110,9 +110,7 @@ Zotero.Prefs.set("search.quicksearch-mode", mode); this.updateMode(); - if (this.value) { - this.dispatchEvent(new Event('command')); - } + this.dispatchEvent(new Event('command')); }); popup.append(item);