diff --git a/src/client/dom/mouse.ts b/src/client/dom/mouse.ts index 3631805..2e0c26c 100644 --- a/src/client/dom/mouse.ts +++ b/src/client/dom/mouse.ts @@ -1,12 +1,12 @@ import { ScramjetClient } from "../client"; export default function (client: ScramjetClient, self: typeof window) { - client.Proxy("MouseEvent.prototype.initMouseEvent", { - apply(ctx) { - // Proxy(Window) instanceof Window SHOULD return true. But uhh, it doesn't. - ctx.args[3] = self; - - ctx.call(); - }, - }) -} \ No newline at end of file + client.Proxy("MouseEvent.prototype.initMouseEvent", { + apply(ctx) { + // Proxy(Window) instanceof Window SHOULD return true. But uhh, it doesn't. + ctx.args[3] = self; + + ctx.call(); + }, + }); +}