diff --git a/chrome/content/zotero/elements/quickSearchTextbox.js b/chrome/content/zotero/elements/quickSearchTextbox.js index 06badd0489..dfed5ea5f5 100644 --- a/chrome/content/zotero/elements/quickSearchTextbox.js +++ b/chrome/content/zotero/elements/quickSearchTextbox.js @@ -46,6 +46,14 @@ _searchModePopup = null; + get value() { + return this.searchTextbox.value; + } + + set value(val) { + this.searchTextbox.value = val; + } + connectedCallback() { let content = document.importNode(this.content, true); this.append(content);