Skip to content

Commit f943d2a

Browse files
Merge pull request gabrielecirulli#42 from david-risney/fix-try-again-bug
Ensure the Try Again button actually disappears when selected in IE
2 parents 7c6fd1b + 472e30c commit f943d2a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎js/html_actuator.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,5 +123,7 @@ HTMLActuator.prototype.message = function (won) {
123123
};
124124

125125
HTMLActuator.prototype.clearMessage = function () {
126-
this.messageContainer.classList.remove("game-won", "game-over");
126+
// IE only takes one value to remove at a time.
127+
this.messageContainer.classList.remove("game-won");
128+
this.messageContainer.classList.remove("game-over");
127129
};

0 commit comments

Comments
 (0)