From b31f66ddbdc59cdf97966a392f510ed0afff706f Mon Sep 17 00:00:00 2001 From: Martynas Bagdonas Date: Thu, 14 Dec 2023 18:20:59 +0200 Subject: [PATCH] Fix related-box error in not yet connected element --- chrome/content/zotero/elements/relatedBox.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/chrome/content/zotero/elements/relatedBox.js b/chrome/content/zotero/elements/relatedBox.js index d27bba0dc4..b479bcdf14 100644 --- a/chrome/content/zotero/elements/relatedBox.js +++ b/chrome/content/zotero/elements/relatedBox.js @@ -45,9 +45,6 @@ `, ['chrome://zotero/locale/zotero.dtd']); - - this._destroyed = false; - this._notifierID = Zotero.Notifier.registerObserver(this, ['item'], 'relatedbox'); } connectedCallback() {