mirror of
https://github.com/driftywinds/driftywinds.github.io.git
synced 2025-12-19 11:03:32 +00:00
Remove debug logs
This commit is contained in:
@@ -12,7 +12,6 @@ export const MoreButton = tintColor => `
|
|||||||
</a>`;
|
</a>`;
|
||||||
|
|
||||||
window.revealTruncatedText = moreButton => {
|
window.revealTruncatedText = moreButton => {
|
||||||
console.log(moreButton);
|
|
||||||
const textId = moreButton.parentNode.id;
|
const textId = moreButton.parentNode.id;
|
||||||
const text = document.getElementById(textId);
|
const text = document.getElementById(textId);
|
||||||
text.style.display = "block";
|
text.style.display = "block";
|
||||||
|
|||||||
2
index.js
2
index.js
@@ -97,8 +97,6 @@ import { sources } from "./common/modules/constants.js";
|
|||||||
const navBar = document.getElementById("nav-bar");
|
const navBar = document.getElementById("nav-bar");
|
||||||
const navBarTitle = navBar.querySelector("#title");
|
const navBarTitle = navBar.querySelector("#title");
|
||||||
|
|
||||||
console.log(title.getBoundingClientRect().y);
|
|
||||||
|
|
||||||
if (title.getBoundingClientRect().y < 20) {
|
if (title.getBoundingClientRect().y < 20) {
|
||||||
navBar.classList.remove("hide-border");
|
navBar.classList.remove("hide-border");
|
||||||
navBarTitle.classList.remove("hidden");
|
navBarTitle.classList.remove("hidden");
|
||||||
|
|||||||
@@ -84,8 +84,6 @@ main(json => {
|
|||||||
const navBar = document.getElementById("nav-bar");
|
const navBar = document.getElementById("nav-bar");
|
||||||
const navBarTitle = navBar.querySelector("#title");
|
const navBarTitle = navBar.querySelector("#title");
|
||||||
|
|
||||||
console.log(title.getBoundingClientRect().y);
|
|
||||||
|
|
||||||
if (title.getBoundingClientRect().y < 20) {
|
if (title.getBoundingClientRect().y < 20) {
|
||||||
navBar.classList.remove("hide-border");
|
navBar.classList.remove("hide-border");
|
||||||
navBarTitle.classList.remove("hidden");
|
navBarTitle.classList.remove("hidden");
|
||||||
|
|||||||
Reference in New Issue
Block a user