MediaWiki:Gadget-Tabs.js: Difference between revisions

Undo revision 767442 by Ritsu (talk)
No edit summary
(Undo revision 767442 by Ritsu (talk))
Tag: Undo
Line 8: Line 8:
         tabs.children('div').eq(index).show().siblings('div').hide();
         tabs.children('div').eq(index).show().siblings('div').hide();
     });
     });
     tabs.find('> ul > li:not(.boss-timer-section .tabber-tab)').first().click();
     tabs.find('> ul > li').first().click();
    
    
   var tabber = window.location.hash.replace('#', '').replace(/_/g, ' ');
   var tabber = window.location.hash.replace('#', '').replace(/_/g, ' ');
   if (tabber != '') $('.tabber-tab:contains("'+tabber+'")').click();
   if (tabber != '') $('.tabber-tab:contains("'+tabber+'")').click();
});
});