diff --git a/data/site/other/life/life.js b/data/site/other/life/life.js index a93401b3..f2dd2bb4 100644 --- a/data/site/other/life/life.js +++ b/data/site/other/life/life.js @@ -78,20 +78,20 @@ function startGame() { if (playerCount == 2 || playerCount == 4) { rowCount -= 1 } - console.log("Row count: " + rowCount) +// console.log("Row count: " + rowCount) if (isFullscreen) { rowHeight = screen.height / rowCount - 2 - console.log("Full screen, rowHeight: " + rowHeight) - console.log("screen.height: " + screen.height) +// console.log("Full screen, rowHeight: " + rowHeight) +// console.log("screen.height: " + screen.height) } else { var heightToUse = window.innerHeight if (document.documentElement.clientHeight > heightToUse) { - console.log("document.documentElement.clientHeight: " + document.documentElement.clientHeight) +// console.log("document.documentElement.clientHeight: " + document.documentElement.clientHeight) heightToUse = document.documentElement.clientHeight } rowHeight = heightToUse / rowCount - 2 - console.log("Not full screen, rowHeight: " + rowHeight) - console.log("window.innerHeight: " + window.innerHeight) +// console.log("Not full screen, rowHeight: " + rowHeight) +// console.log("window.innerHeight: " + window.innerHeight) } //Now that all the player boxes are made, they must be configured for (var i = 1; i <= playerCount; i++) {