Skip to content

Commit

Permalink
BUG: Code leak PriyaGhosal#1964
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinggsingh committed Nov 9, 2024
1 parent 913c1a6 commit 56391c1
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,8 @@ <h3>Quick Links</h3>
</div>


addEventListeners();
<!-- Was creating a code leak -->
<!-- addEventListeners();
function addEventListeners() {
// Add event listeners for read more links
Expand Down Expand Up @@ -897,7 +898,7 @@ <h3>Comments (${post.comments.length})</h3>
</div>
`;
container.appendChild(article);
});
}); -->

<!-- Legal Links Section -->
<div class="footer-column">
Expand Down Expand Up @@ -1253,11 +1254,6 @@ <h3>Comments (${post.comments.length})</h3>
}
}

=
});

addEventListeners();
}

function addEventListeners() {
// Add event listeners for read more links
Expand Down Expand Up @@ -1502,8 +1498,6 @@ <h3>Comments (${post.comments.length})</h3>
moonIcon.style.display = "none";
localStorage.setItem("theme", "light");
}
});
});
</script>


Expand Down

0 comments on commit 56391c1

Please sign in to comment.