diff --git a/chrome/content/zotero/elements/itemBox.js b/chrome/content/zotero/elements/itemBox.js index 086584d743..1053a44bd0 100644 --- a/chrome/content/zotero/elements/itemBox.js +++ b/chrome/content/zotero/elements/itemBox.js @@ -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() { diff --git a/chrome/content/zotero/elements/noteEditor.js b/chrome/content/zotero/elements/noteEditor.js index b9dc23f8b2..0b9a2a270d 100644 --- a/chrome/content/zotero/elements/noteEditor.js +++ b/chrome/content/zotero/elements/noteEditor.js @@ -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'); }