Fix quick search does not re-run when changing mode

This commit is contained in:
windingwind 2024-01-14 18:17:01 +08:00 committed by Dan Stillman
parent 3e489b5f00
commit 365e97ba1e

View file

@ -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);