Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
windingwind committed Jul 24, 2023
1 parent 910e21f commit fe59f5c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion addon/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}
Expand Down

0 comments on commit fe59f5c

Please sign in to comment.