Line 38: | Line 38: | ||
$("#"+ wgPageName.substring(wgPageName.indexOf("/")+1, wgPageName.length ) + "_page").addClass("current_page"); | $("#"+ wgPageName.substring(wgPageName.indexOf("/")+1, wgPageName.length ) + "_page").addClass("current_page"); | ||
$(".current_page").parents(".submenu_wrapper").fadeIn(400); | $(".current_page").parents(".submenu_wrapper").fadeIn(400); | ||
+ | $(".current_page").parents(".submenu_wrapper").prev().children().toggleClass("open"); | ||
} | } |
Revision as of 17:40, 9 March 2017