Ensure the Try Again button actually disappears when selected in Internet Explorer
Ensure the Try Again button actually disappears when selected in Internet Explorer

--- a/js/html_actuator.js
+++ b/js/html_actuator.js
@@ -114,6 +114,8 @@
 };
 
 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");
 };
 

comments