mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 22:40:01 -04:00
Revert "I love when browsers LIE to me"
This reverts commit c37caff949
.
This commit is contained in:
parent
b09b3c1d0d
commit
bae6071ac0
1 changed files with 0 additions and 12 deletions
|
@ -1,12 +0,0 @@
|
||||||
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();
|
|
||||||
},
|
|
||||||
});
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue