Update Notifier ids for itemBox/notesEditor custom elements

This commit is contained in:
Dan Stillman 2022-06-20 00:46:10 -04:00
parent 5bc1b6ad81
commit 30f636274b
2 changed files with 2 additions and 2 deletions

View file

@ -212,7 +212,7 @@
this._id('creator-transform-swap-names').addEventListener('command',
event => this.swapNames(event));
this._notifierID = Zotero.Notifier.registerObserver(this, ['item'], 'itembox');
this._notifierID = Zotero.Notifier.registerObserver(this, ['item'], 'itemBox');
}
destroy() {

View file

@ -86,7 +86,7 @@
});
shadow.append(content);
this._notifierID = Zotero.Notifier.registerObserver(this, ['item'], 'itembox');
this._notifierID = Zotero.Notifier.registerObserver(this, ['item'], 'noteEditor');
this.notitle = !!this.getAttribute('notitle');
}