Line 35: | Line 35: | ||
console.log(wgPageName); | console.log(wgPageName); | ||
− | + | ||
− | $("#submenu").addClass("current_page"); | + | $("#"+ wgPageName.substring(wgPageName.indexOf("/")+1, wgPageName.length ) + "submenu").addClass("current_page"); |
// $("#Team_submenu").prev('.submenu_wrapper').fadeIn(400); | // $("#Team_submenu").prev('.submenu_wrapper').fadeIn(400); |
Revision as of 22:34, 8 March 2017