diff --git a/resources/assets/js/tabler.js b/resources/assets/js/tabler.js index b317658..4b01e51 100644 --- a/resources/assets/js/tabler.js +++ b/resources/assets/js/tabler.js @@ -1,6 +1,6 @@ // Bar layout - Highlight active section/page [...document.querySelectorAll('aside a[href], header.top a[href]')] - .filter(el => window.location.href.split("#")[0].split("?")[0] === el.href) + .filter(el => window.location.href.split("#")[0] === el.href) .forEach(el => { while (/(nav-item|nav-link|dropdown)/.test(el.className)) { let parentContainer = el.parentElement?.parentElement;