From 083e3c7a36c0b23f009763a33af8cb3aed695960 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Tue, 12 Jul 2022 22:01:20 -0400 Subject: [PATCH] fx-compat: Search: Clear join mode condition Fixes an error that prevents changing the join mode from having an effect after clearing the search when a join mode was already set. Bug also present on master, not introduced with fx102. --- chrome/content/zotero/elements/zoteroSearch.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrome/content/zotero/elements/zoteroSearch.js b/chrome/content/zotero/elements/zoteroSearch.js index 72d839f030..7d1d29a49d 100644 --- a/chrome/content/zotero/elements/zoteroSearch.js +++ b/chrome/content/zotero/elements/zoteroSearch.js @@ -91,6 +91,8 @@ } this.updateLibrary(); + this.shadowRoot.getElementById('joinModeMenu').removeAttribute('condition'); + this.shadowRoot.getElementById('joinModeMenu').value = 'all'; var conditionsBox = this.shadowRoot.getElementById('conditions'); while (conditionsBox.hasChildNodes())