diff --git a/src/main.ts b/src/main.ts index bd208ad..fcca70d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -223,13 +223,11 @@ async function initJuego() { } document.getElementById("full-screen")!.addEventListener("click", async () => { - if (isMobile()) { - document.documentElement.requestFullscreen && - (await document.documentElement.requestFullscreen({ - navigationUI: "hide", - })); - await screen.orientation.lock("landscape"); - } + document.documentElement.requestFullscreen && + (await document.documentElement.requestFullscreen({ + navigationUI: "hide", + })); + await screen.orientation.lock("landscape"); }); initJuego();