diff --git a/data/life/life.js b/data/life/life.js index 672fa721..ba4f8cdc 100644 --- a/data/life/life.js +++ b/data/life/life.js @@ -12,10 +12,12 @@ function fullscreen() { } else if (grid.mozRequestFullScreen) { grid.mozRequestFullScreen() } else if (grid.webkitRequestFullscreen) { - alert("ok") grid.webkitRequestFullscreen() } else if (grid.msRequestFullscreen) { grid.msRequestFullscreen() + } else { + document.getElementById("return").classList.add("permaHidden") + document.getElementById("mainGrid").classList.add("fullscreenUnavailable") } } function startGame() { diff --git a/life.html b/life.html index b89dcd7a..4d07676d 100644 --- a/life.html +++ b/life.html @@ -15,10 +15,10 @@ - + - +