diff --git a/client/scripts/WebConsole.js b/client/scripts/WebConsole.js index df1b511..545c9c6 100644 --- a/client/scripts/WebConsole.js +++ b/client/scripts/WebConsole.js @@ -103,7 +103,7 @@ function writeToWebConsole(msg){ var isScrolledDown = document.getElementById("consoleTextArea").scrollHeight - document.getElementById("consoleTextArea").scrollTop - 40 == $("#consoleTextArea").height(); //Write to div, replacing < to < (to avoid XSS) and replacing new line to br. - msg = msg.replace(/"); //Color filter for Windows (thanks to SuperPykkon) @@ -240,4 +240,4 @@ function updateServerList(){ if(servers.length == 0){ $('#ServerListDropDown').append('No servers added'); } -} \ No newline at end of file +}