MediaWiki:Common.js: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 18: Line 18:
         $(this).parent().find('> li').addClass('inactive').removeClass('active');
         $(this).parent().find('> li').addClass('inactive').removeClass('active');
         $(this).addClass('active').removeClass('inactive');
         $(this).addClass('active').removeClass('inactive');
        $(this).parent().parent().find('> div').hide();
         $(target).show();
         $(target).show();
     });
     });