MediaWiki:Common.js: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 15: Line 15:
         $(this).removeClass('inactive').addClass('active');
         $(this).removeClass('inactive').addClass('active');
         $(this).parent().parent().find('> div').hide();
         $(this).parent().parent().find('> div').hide();
         $($(this).attr('tabscope')).show();
         $($(this).find('> a:first').attr('href')).show();
    }).each(function(){
        $(this).find('> a.first').attr('href', '');
     });
     });
     $('div.tabdiv > ul > li:first').click();
     $('div.tabdiv > ul > li:first').click();