Skip to content

Commit 33e30d6

Browse files
committed
fix: 🐛 Remove ; in function parameter
The whole event is the parameter of the registerEvent function. Therefore a ; is incorrect here
1 parent fb1ed2b commit 33e30d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default class MouseWheelZoomPlugin extends Plugin {
3030
async onload() {
3131
await this.loadSettings();
3232
this.registerEvent(
33-
this.app.workspace.on("window-open", (newWindow: WorkspaceWindow) => this.registerEvents(newWindow.win));
33+
this.app.workspace.on("window-open", (newWindow: WorkspaceWindow) => this.registerEvents(newWindow.win))
3434
);
3535
this.registerEvents(window);
3636

0 commit comments

Comments
 (0)