Fix Collection condition in Advanced Search (regression from 6b819e259c)

The shadow root here is from xul:menulist, not one of our CEs.
This commit is contained in:
Dan Stillman 2023-04-14 15:57:03 -04:00
parent 033733122a
commit c81391b5b6

View file

@ -562,7 +562,7 @@
valueMenu.value = this.value;
}
valueMenu.querySelector('#label-box > image').style.maxHeight = '16px';
valueMenu.shadowRoot.querySelector('#label-box > image').style.maxHeight = '16px';
}
initWithParentAndCondition(parent, condition) {