Skip to content

Commit

Permalink
Remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
SquishedPotatoe committed Mar 10, 2024
1 parent 6ede9d8 commit 7220935
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/modules/Discussions/ActiveDiscussionsToDisplay.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,11 @@ class DiscussionsActiveDiscussionsToDisplay extends Module {
if (this.esgst.activeDiscussions) {
let leftSide = this.esgst.activeDiscussions.firstElementChild.querySelector('.table');
let rightSide = this.esgst.activeDiscussions.lastElementChild.querySelector('.table');

while (leftSide.firstElementChild.children.length > Settings.get('activeDiscussions_displayed')) {
leftSide.firstElementChild.lastChild.remove();
rightSide.firstElementChild.lastChild.remove();
}

let element = leftSide.getBoundingClientRect();
console.log(element);
leftSide.style.minHeight = `${element.height}px`;
rightSide.style.minHeight = `${element.height}px`;
}
Expand Down

0 comments on commit 7220935

Please sign in to comment.