Anonymous

MediaWiki:Gadget-Tabs.js: Difference between revisions

From Elwiki
no edit summary
No edit summary
No edit summary
Line 3: Line 3:
     var tabs = $(this);
     var tabs = $(this);
     tabs.find('> ul a').removeAttr('href');
     tabs.find('> ul a').removeAttr('href');
     tabs.find('> ul > li.tabber-tab').click(function() {
     tabs.find('> ul > li').click(function() {
         var exclude = $(this).parents('ul').find('.exclude').length;
         var exclude = $(this).parents('ul').find('.exclude').length;
         var li = $(this);
         var li = $(this);