No discriminar a usuarixs en dispositivos no mobile

This commit is contained in:
Nulo 2021-07-01 23:12:32 +00:00
parent d4f8f8a674
commit bb61cb2b1c

View file

@ -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");
}
});
initJuego();