diff options
author | Pacien TRAN-GIRARD | 2014-07-06 16:59:07 +0200 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2014-07-06 16:59:07 +0200 |
commit | cd762d47ea40a67d2e8b134762ecbf246bca47ea (patch) | |
tree | 2d6ed688f02be16834f9da06549d046c5ba2b3bd /views | |
parent | 705d67f9949d8fda2142ff24855a9f9c123119ae (diff) | |
download | webcastor-cd762d47ea40a67d2e8b134762ecbf246bca47ea.tar.gz |
Diffstat (limited to 'views')
-rw-r--r-- | views/client.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/client.html b/views/client.html index ebb3810..28140ae 100644 --- a/views/client.html +++ b/views/client.html | |||
@@ -25,7 +25,7 @@ | |||
25 | var console = document.getElementById("console"); | 25 | var console = document.getElementById("console"); |
26 | 26 | ||
27 | function println(str) { | 27 | function println(str) { |
28 | console.innerHTML = str + "\n" + console.innerHTML; | 28 | console.insertBefore(document.createTextNode(str + "\n"), console.firstChild); |
29 | } | 29 | } |
30 | 30 | ||
31 | function changeControlState(connected) { | 31 | function changeControlState(connected) { |
@@ -96,4 +96,4 @@ | |||
96 | messageField.value = ""; | 96 | messageField.value = ""; |
97 | }); | 97 | }); |
98 | 98 | ||
99 | </script> \ No newline at end of file | 99 | </script> |