Removed dumb fix

This commit is contained in:
FlamedDogo99 2024-06-15 19:51:09 -06:00
parent 60fe827c13
commit bd26c5d2db

View File

@ -65,14 +65,8 @@ Object.defineProperty(EventTarget.prototype, "addEventListener", {
}
return fn.apply(this, args);
}, ...rest);
} else if (type == 'blur' || type == 'mouseleave') {
_addEventListener.call(this, type, function(...args) {
return;
}, ...rest);
} else {
_addEventListener.call(this, type, function(...args) {
return fn.apply(this, args);
}, ...rest);
_addEventListener.call(this, type, fn, ...rest);
}
}
});