aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2014-07-06 16:59:07 +0200
committerPacien TRAN-GIRARD2014-07-06 16:59:07 +0200
commitcd762d47ea40a67d2e8b134762ecbf246bca47ea (patch)
tree2d6ed688f02be16834f9da06549d046c5ba2b3bd
parent705d67f9949d8fda2142ff24855a9f9c123119ae (diff)
downloadwebcastor-master.tar.gz
Print log correctlyHEADmaster
-rw-r--r--views/client.html4
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>