Luminate templates mostly. Cin7 too.
This commit is contained in:
@ -20,11 +20,11 @@
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
let link = document.getElementById('courses-category');
|
||||
|
||||
|
||||
if (window.location.pathname == '/app/courses-category') {
|
||||
link.classList.add("np-sub-navigation-content-item-active");
|
||||
} else {
|
||||
link.classList.remove("np-sub-navigation-content-item-active");
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user