Merge pull request #42 from david-risney/fix-try-again-bug
Merge pull request #42 from david-risney/fix-try-again-bug

Ensure the Try Again button actually disappears when selected in IE

--- a/js/html_actuator.js
+++ b/js/html_actuator.js
@@ -123,6 +123,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