aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-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>