Skip to content

Commit

Permalink
JS changes
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashorsey committed Jun 23, 2024
1 parent d802cda commit 1983c3e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ function hideDropdown() {
document.addEventListener("DOMContentLoaded", function() {
// Get the current page name
var currentPage = window.location.pathname.split("/").pop();
currentPage += ".html"

// Get the navigation bar names to check against
var navLinks = document.querySelectorAll("#navbar-menu a, #dropdown-menu a");
Expand Down

0 comments on commit 1983c3e

Please sign in to comment.