From fe59f5cc3a0f6e2b5bc1dd020f520655f7831237 Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Mon, 24 Jul 2023 12:20:13 +0800 Subject: [PATCH] fix: lint --- addon/bootstrap.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/addon/bootstrap.js b/addon/bootstrap.js index 50dca33..00e7758 100644 --- a/addon/bootstrap.js +++ b/addon/bootstrap.js @@ -58,7 +58,11 @@ async function waitForZotero() { ) { Zotero.__addonInstance__?.hooks.onMainWindowLoad(domWindow); domWindow.addEventListener("unload", function () { - domWindow.removeEventListener("unload", arguments.callee, false); + domWindow.removeEventListener( + "unload", + arguments.callee, + false, + ); Zotero.__addonInstance__?.hooks.onMainWindowUnload(domWindow); }); }