Module:SkillNav: Difference between revisions

added better handling of collapsibles
No edit summary
(added better handling of collapsibles)
Line 166: Line 166:
     if (args.collapsible ~= nil) then
     if (args.collapsible ~= nil) then
         skill_nav_wrap:addClass('mw-collapsible');
         skill_nav_wrap:addClass('mw-collapsible');
    end
    if (args.collapsed ~= nil) then
        skill_nav_wrap:addClass('mw-collapsed');
     end
     end