diff --git a/common/components/MoreButton.js b/common/components/MoreButton.js index 53b8ca2..d3ac937 100644 --- a/common/components/MoreButton.js +++ b/common/components/MoreButton.js @@ -12,7 +12,6 @@ export const MoreButton = tintColor => ` `; window.revealTruncatedText = moreButton => { - console.log(moreButton); const textId = moreButton.parentNode.id; const text = document.getElementById(textId); text.style.display = "block"; diff --git a/index.js b/index.js index 57f1637..6957a3a 100644 --- a/index.js +++ b/index.js @@ -97,8 +97,6 @@ import { sources } from "./common/modules/constants.js"; const navBar = document.getElementById("nav-bar"); const navBarTitle = navBar.querySelector("#title"); - console.log(title.getBoundingClientRect().y); - if (title.getBoundingClientRect().y < 20) { navBar.classList.remove("hide-border"); navBarTitle.classList.remove("hidden"); diff --git a/view/view.js b/view/view.js index 419c2f5..a2eca39 100644 --- a/view/view.js +++ b/view/view.js @@ -84,8 +84,6 @@ main(json => { const navBar = document.getElementById("nav-bar"); const navBarTitle = navBar.querySelector("#title"); - console.log(title.getBoundingClientRect().y); - if (title.getBoundingClientRect().y < 20) { navBar.classList.remove("hide-border"); navBarTitle.classList.remove("hidden");