Remove debug messages

This commit is contained in:
Midgard 2022-06-09 14:53:47 +02:00
parent f6c45894a6
commit ff96822f67
Signed by: midgard
GPG key ID: 511C112F1331BBB4
2 changed files with 0 additions and 2 deletions

View file

@ -101,7 +101,6 @@ async function addMessage(client, post) {
new Date(1 * (byId("channel_contents").dataset["lastTime"])), new Date(1 * (byId("channel_contents").dataset["lastTime"])),
byId("channel_contents").dataset["lastAuthor"] byId("channel_contents").dataset["lastAuthor"]
); );
console.log(result);
byId("channel_contents").dataset["lastTime"] = result.lastTime.getTime(); byId("channel_contents").dataset["lastTime"] = result.lastTime.getTime();
byId("channel_contents").dataset["lastAuthor"] = result.lastAuthor; byId("channel_contents").dataset["lastAuthor"] = result.lastAuthor;
byId("channel_contents").appendChild(result.postDiv); byId("channel_contents").appendChild(result.postDiv);

View file

@ -60,7 +60,6 @@ function populateChannelList() {
li.dataset["mentions"] = chanMentions; li.dataset["mentions"] = chanMentions;
if (chanUnreads > 0) li.className = "unread"; if (chanUnreads > 0) li.className = "unread";
console.debug(`Channel ${channel.name} with ${chanUnreads} unreads`);
nodes.push(li); nodes.push(li);
} }
byId("channel_list").append(...nodes); byId("channel_list").append(...nodes);