mirror of
https://github.com/tchartron/blow
synced 2025-02-17 05:38:26 +00:00
update
This commit is contained in:
parent
1398ca16bf
commit
ae65ef1587
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ document.addEventListener("DOMContentLoaded", function() {
|
|||
let navbar_links = document.querySelector('#nav-links').children;
|
||||
let current_location = window.location.href;
|
||||
let selected_navbar_link = [...navbar_links].find((item) => {
|
||||
(item.href === current_location)
|
||||
return (item.href === current_location)
|
||||
})
|
||||
// for (let i = 0; i <= navbar_links.length; i++) {
|
||||
// if (document.querySelector('#nav-links').children)
|
||||
|
|
Loading…
Add table
Reference in a new issue