diff --git a/examplemods/f11fix.js b/examplemods/f11fix.js index 722c5a2..7b17bf1 100644 --- a/examplemods/f11fix.js +++ b/examplemods/f11fix.js @@ -4,9 +4,9 @@ var oldF11 = HTMLElement.prototype.requestFullscreen; HTMLElement.prototype.requestFullscreen = function () { if (this instanceof HTMLBodyElement) { - oldF11.apply(this, []) + oldF11.apply(this, []); } else { - document.body.requestFullscreen() + document.body.requestFullscreen(); } } })(); \ No newline at end of file