Difference between revisions of "Template:Example2"

Line 38: Line 38:
 
console.log(wgPageName);
 
console.log(wgPageName);
 
 
$('a[href="' + wgPageName + '"]').hide();
+
$('a[href="' + wgPageName + '"]').next('submenu_button').addClass("current");
 
 
 
}
 
}

Revision as of 21:38, 8 March 2017