add basic iphone support
This commit is contained in:
+1
-1
@@ -107,7 +107,7 @@ HTMLActuator.prototype.message = function (won) {
|
||||
var type = won ? "game-won" : "game-over";
|
||||
var message = won ? "You win!" : "Game over!"
|
||||
|
||||
if (ga) ga("send", "event", "game", "end", type, this.score);
|
||||
// if (ga) ga("send", "event", "game", "end", type, this.score);
|
||||
|
||||
this.messageContainer.classList.add(type);
|
||||
this.messageContainer.getElementsByTagName("p")[0].textContent = message;
|
||||
|
||||
Reference in New Issue
Block a user