Commit 57702748 authored by Kevin Yumang's avatar Kevin Yumang

SERV-2286 - navigation - removed logs

parent c2153065
...@@ -2,15 +2,10 @@ $(document).ready(function() { ...@@ -2,15 +2,10 @@ $(document).ready(function() {
let currentWindowPath = window.location.search; let currentWindowPath = window.location.search;
console.log(currentWindowPath);
console.log('-----------------------------');
$('.sidebar-content .nav-link').each(function () { $('.sidebar-content .nav-link').each(function () {
if(currentWindowPath === '') currentWindowPath = '/'; if(currentWindowPath === '') currentWindowPath = '/';
console.log($(this).attr('href'));
if (currentWindowPath == $(this).attr('href')) { if (currentWindowPath == $(this).attr('href')) {
$(this).addClass('active') $(this).addClass('active')
$(this).parents('.nav-item-submenu').addClass('nav-item-open'); $(this).parents('.nav-item-submenu').addClass('nav-item-open');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment