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.
This commit is contained in:
Abe Jellinek 2022-07-12 22:01:20 -04:00
parent fba349b144
commit 083e3c7a36

View file

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