Empêcher game.js de charger sur mobile

This commit is contained in:
François Pelletier 2024-09-01 13:28:25 -04:00
parent e334b61b32
commit b8d6033b92
2 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@ function checkDeviceType() {
if (isMobileDevice()) {
gameContainer.style.display = 'none';
mobileMessage.style.display = 'block';
mobileMessage.style.display = 'flex';
} else {
gameContainer.style.display = 'block';
mobileMessage.style.display = 'none';