MediaWiki:Common.js: Difference between revisions
From Elwiki
mNo edit summary |
mNo edit summary |
||
Line 17: | Line 17: | ||
$($(this).find('> a:first').attr('href')).show(); | $($(this).find('> a:first').attr('href')).show(); | ||
}).each(function(){ | }).each(function(){ | ||
$(this).attr('href', ''); | $(this).find('> a:first').attr('href', ''); | ||
}) | }) | ||
$('div.tabdiv > ul > li:first').click(); | $('div.tabdiv > ul > li:first').click(); |