mirror of
https://github.com/gabrielecirulli/2048.git
synced 2026-08-31 01:36:40 +08:00
Merge pull request #42 from david-risney/fix-try-again-bug
Ensure the Try Again button actually disappears when selected in IE
This commit is contained in:
+3
-1
@@ -123,5 +123,7 @@ HTMLActuator.prototype.message = function (won) {
|
||||
};
|
||||
|
||||
HTMLActuator.prototype.clearMessage = function () {
|
||||
this.messageContainer.classList.remove("game-won", "game-over");
|
||||
// IE only takes one value to remove at a time.
|
||||
this.messageContainer.classList.remove("game-won");
|
||||
this.messageContainer.classList.remove("game-over");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user