Update Notifier ids for itemBox/notesEditor custom elements
This commit is contained in:
parent
5bc1b6ad81
commit
30f636274b
2 changed files with 2 additions and 2 deletions
|
@ -212,7 +212,7 @@
|
||||||
this._id('creator-transform-swap-names').addEventListener('command',
|
this._id('creator-transform-swap-names').addEventListener('command',
|
||||||
event => this.swapNames(event));
|
event => this.swapNames(event));
|
||||||
|
|
||||||
this._notifierID = Zotero.Notifier.registerObserver(this, ['item'], 'itembox');
|
this._notifierID = Zotero.Notifier.registerObserver(this, ['item'], 'itemBox');
|
||||||
}
|
}
|
||||||
|
|
||||||
destroy() {
|
destroy() {
|
||||||
|
|
|
@ -86,7 +86,7 @@
|
||||||
});
|
});
|
||||||
shadow.append(content);
|
shadow.append(content);
|
||||||
|
|
||||||
this._notifierID = Zotero.Notifier.registerObserver(this, ['item'], 'itembox');
|
this._notifierID = Zotero.Notifier.registerObserver(this, ['item'], 'noteEditor');
|
||||||
this.notitle = !!this.getAttribute('notitle');
|
this.notitle = !!this.getAttribute('notitle');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue