From 472e30cd35e439b24bd402f1b3e623fed6de1e36 Mon Sep 17 00:00:00 2001 From: Dave Risney Date: Tue, 11 Mar 2014 22:59:47 -0700 Subject: [PATCH] Ensure the Try Again button actually disappears when selected in Internet Explorer --- js/html_actuator.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/html_actuator.js b/js/html_actuator.js index 94a8f35..fbef1e2 100644 --- a/js/html_actuator.js +++ b/js/html_actuator.js @@ -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"); }; -- GitLab