From a264b00a6222754ae57d5030828741ccdf8dc4a7 Mon Sep 17 00:00:00 2001 From: sD Date: Wed, 18 Dec 2019 21:34:00 +0100 Subject: get rid of my debug logging --- webAO/client.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/webAO/client.js b/webAO/client.js index 7c01d42..dd4c777 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -571,7 +571,6 @@ class Client extends EventEmitter { if (cini.options.gender === undefined) cini.options.gender = "male"; - console.log(cini); this.chars[charid] = { name: chargs[0].toLowerCase(), showname: cini.options.showname, @@ -910,7 +909,7 @@ class Client extends EventEmitter { for (let i = 0; i < this.char_list_length; i++) { let img = document.getElementById(`demo_${i}`); let icon_chosen = "demothing"; - console.log(img.classList); + if (img.classList.contains("noini")) icon_chosen += " noini"; @@ -1101,7 +1100,6 @@ class Viewport { async getAnimLength(filename) { try { const file = await requestBuffer(filename); - console.log(filename); return this.calculateGifLength(file); } catch (err) { return 0; @@ -1713,7 +1711,6 @@ async function changeBackground(position) { export function ReconnectButton() { client.cleanup(); client = new Client(serverIP); - console.log(client); if (client) { mode = "join"; // HACK: see client.onOpen document.getElementById("client_error").style.display = "none"; -- cgit