Index: samples/chat/js_client/code.js |
diff --git a/samples/chat/js_client/code.js b/samples/chat/js_client/code.js |
index fb0e8ada988a7c65506744c1493c7aea779a9165..3f69291c77e22e0850946936b0b202fae91d20ad 100644 |
--- a/samples/chat/js_client/code.js |
+++ b/samples/chat/js_client/code.js |
@@ -196,7 +196,7 @@ function uiAddMessage(message) { |
} else { |
text += "timeout"; |
} |
- p.innerHTML = text; |
+ p.innerHtml = text; |
if (messages.firstChild == null) { |
messages.appendChild(p); |
} else { |
@@ -281,7 +281,7 @@ function writeReadyState(request) { |
case 3: readyStateName = "LOADING"; break; |
case 4: readyStateName = "DONE"; break; |
} |
- p.innerHTML = |
+ p.innerHtml = |
"Ready state " + readyStateName + " (" + request.readyState + ")"; |
window.document.body.appendChild(p); |
} |