ElEditors, Interface administrators, Administrators
85,546
edits
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(' | $($(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(); |