MediaWiki:Common.js: Difference between revisions

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