From ff96822f6792e70fbfbe30ccb01339410fa744fa Mon Sep 17 00:00:00 2001 From: Midgard Date: Thu, 9 Jun 2022 14:53:47 +0200 Subject: [PATCH] Remove debug messages --- js/view/messages.js | 1 - js/view/sidebar.js | 1 - 2 files changed, 2 deletions(-) diff --git a/js/view/messages.js b/js/view/messages.js index 9fcecaf..5827e6d 100644 --- a/js/view/messages.js +++ b/js/view/messages.js @@ -101,7 +101,6 @@ async function addMessage(client, post) { new Date(1 * (byId("channel_contents").dataset["lastTime"])), byId("channel_contents").dataset["lastAuthor"] ); - console.log(result); byId("channel_contents").dataset["lastTime"] = result.lastTime.getTime(); byId("channel_contents").dataset["lastAuthor"] = result.lastAuthor; byId("channel_contents").appendChild(result.postDiv); diff --git a/js/view/sidebar.js b/js/view/sidebar.js index 6f5f79e..9f52ec6 100644 --- a/js/view/sidebar.js +++ b/js/view/sidebar.js @@ -60,7 +60,6 @@ function populateChannelList() { li.dataset["mentions"] = chanMentions; if (chanUnreads > 0) li.className = "unread"; - console.debug(`Channel ${channel.name} with ${chanUnreads} unreads`); nodes.push(li); } byId("channel_list").append(...nodes);