Skip to content

Commit

Permalink
Remove console.info
Browse files Browse the repository at this point in the history
  • Loading branch information
doup committed Dec 5, 2024
1 parent 1e22335 commit 51a11d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/on-this-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function otp_set_active(id_or_node){
id = id_or_node;
}
id = "#" + id;
console.info(id);

document.querySelectorAll(".on-this-page a").forEach(a => {
a.setAttribute("data-active", a.getAttribute("href").includes(id));
});
Expand Down

0 comments on commit 51a11d4

Please sign in to comment.