From f745ec01b5109ef60fd8efdaa1aa701788c74fc7 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Mon, 2 Sep 2024 18:00:34 -0500 Subject: [PATCH] remove uneeded logs --- .dist/channel.js | 3 --- webpage/channel.ts | 3 --- 2 files changed, 6 deletions(-) diff --git a/.dist/channel.js b/.dist/channel.js index 2c04af2..ef41f9f 100644 --- a/.dist/channel.js +++ b/.dist/channel.js @@ -412,7 +412,6 @@ class Channel { decdiv.onclick = () => { if (childrendiv.style.height !== "0px") { decoration.classList.add("hiddencat"); - //childrendiv.classList.add("colapsediv"); this.perminfo.collapsed = true; this.localuser.userinfo.updateLocal(); childrendiv.style.height = "0px"; @@ -421,8 +420,6 @@ class Channel { decoration.classList.remove("hiddencat"); this.perminfo.collapsed = false; this.localuser.userinfo.updateLocal(); - //childrendiv.classList.remove("colapsediv") - console.log("This ran?"); childrendiv.style.height = childrendiv.scrollHeight + "px"; } }; diff --git a/webpage/channel.ts b/webpage/channel.ts index 4101610..b2b2257 100644 --- a/webpage/channel.ts +++ b/webpage/channel.ts @@ -427,7 +427,6 @@ class Channel{ decdiv.onclick=()=>{ if(childrendiv.style.height!=="0px"){ decoration.classList.add("hiddencat"); - //childrendiv.classList.add("colapsediv"); this.perminfo.collapsed=true; this.localuser.userinfo.updateLocal(); childrendiv.style.height = "0px"; @@ -435,8 +434,6 @@ class Channel{ decoration.classList.remove("hiddencat"); this.perminfo.collapsed=false; this.localuser.userinfo.updateLocal(); - //childrendiv.classList.remove("colapsediv") - console.log("This ran?") childrendiv.style.height = childrendiv.scrollHeight + "px"; } };