parent
13754fe32c
commit
8b30f08db8
1 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,8 @@ class ItemPaneSectionElementBase extends XULElementBase {
|
|||
|
||||
connectedCallback() {
|
||||
super.connectedCallback();
|
||||
if (!this.render) {
|
||||
Zotero.warn("Pane section must have method render().");
|
||||
if (!this.render && !this.asyncRender) {
|
||||
Zotero.warn("Pane section must have method render or asyncRender.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue