changeset 47:b0dbbcebfb1d

fix message for ff
author sheep@ghostwheel
date Sun, 07 Mar 2010 21:02:07 +0100
parents 5afa948f1b47
children d716bdc7833d
files dw.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dw.js	Sun Mar 07 19:44:23 2010 +0100
+++ b/dw.js	Sun Mar 07 21:02:07 2010 +0100
@@ -398,7 +398,7 @@
         }
         self = document.createElement('p');
         self.className = 'message';
-        self.innerText = text;
+        self.textContent = text;
 
         self.close = function () {
             document.getElementById('game').removeChild(self);