add the semicolons

This commit is contained in:
ZXMushroom63 2024-10-24 18:09:35 +08:00
parent c80f35f796
commit 28f6946b3a

View File

@ -4,9 +4,9 @@
var oldF11 = HTMLElement.prototype.requestFullscreen; var oldF11 = HTMLElement.prototype.requestFullscreen;
HTMLElement.prototype.requestFullscreen = function () { HTMLElement.prototype.requestFullscreen = function () {
if (this instanceof HTMLBodyElement) { if (this instanceof HTMLBodyElement) {
oldF11.apply(this, []) oldF11.apply(this, []);
} else { } else {
document.body.requestFullscreen() document.body.requestFullscreen();
} }
} }
})(); })();