diff --git a/js/main.js b/js/main.js index fcf60e8..e2c0b6f 100644 --- a/js/main.js +++ b/js/main.js @@ -1134,6 +1134,7 @@ PublicServers.prototype.joinServer = function (code) { }; PublicServers.prototype.escape = function(unsafe) { + if(unsafe === undefined) return ""; return unsafe .replace(/&/g, "&") .replace(/