Line 461: | Line 461: | ||
$(".active").removeClass("active"); | $(".active").removeClass("active"); | ||
selected = $("#"+ wgPageName.substring(wgPageName.lastIndexOf("/")+1, wgPageName.length ) + "_page"); | selected = $("#"+ wgPageName.substring(wgPageName.lastIndexOf("/")+1, wgPageName.length ) + "_page"); | ||
+ | console.log("#"+ wgPageName.substring(wgPageName.lastIndexOf("/")+1, wgPageName.length ) + "_page"); | ||
selected.addClass("active"); | selected.addClass("active"); | ||
selected.parents(".dropdown").addClass("active"); | selected.parents(".dropdown").addClass("active"); |
Revision as of 09:17, 14 July 2017