mirror of
https://github.com/gabrielecirulli/2048.git
synced 2026-08-30 17:13:37 +08:00
Ensure the Try Again button actually disappears when selected in Internet Explorer
This commit is contained in:
+3
-1
@@ -114,5 +114,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