From 51a11d4e87c6d8b639917c4481b2cb74bf0f5008 Mon Sep 17 00:00:00 2001 From: doup Date: Thu, 5 Dec 2024 23:19:27 +0100 Subject: [PATCH] Remove `console.info` --- static/on-this-page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/on-this-page.js b/static/on-this-page.js index 0ae029231b..2cc21b6198 100644 --- a/static/on-this-page.js +++ b/static/on-this-page.js @@ -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)); });