Preferences: Dispatch showing on all children (#3876)
This commit is contained in:
parent
4f0e9bb9bb
commit
54b9ff6e8a
1 changed files with 4 additions and 1 deletions
|
@ -328,7 +328,10 @@ var Zotero_Preferences = {
|
||||||
let pane = this.panes.get(id);
|
let pane = this.panes.get(id);
|
||||||
|
|
||||||
pane.container.hidden = false;
|
pane.container.hidden = false;
|
||||||
pane.container.children[0].dispatchEvent(new Event('showing'));
|
for (let child of pane.container.children) {
|
||||||
|
let event = new Event('showing');
|
||||||
|
child.dispatchEvent(event);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
_parseXHTMLToFragment(str, entities = []) {
|
_parseXHTMLToFragment(str, entities = []) {
|
||||||
|
|
Loading…
Reference in a new issue