Skip to content

Commit 472e30c

Browse files
committed
Ensure the Try Again button actually disappears when selected in Internet Explorer
1 parent 29e4b85 commit 472e30c

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
@@ -114,5 +114,7 @@ HTMLActuator.prototype.message = function (won) {
114114
};
115115

116116
HTMLActuator.prototype.clearMessage = function () {
117-
this.messageContainer.classList.remove("game-won", "game-over");
117+
// IE only takes one value to remove at a time.
118+
this.messageContainer.classList.remove("game-won");
119+
this.messageContainer.classList.remove("game-over");
118120
};

0 commit comments

Comments
 (0)