MediaWiki:Gadget-Tabs.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 16: Line 16:
     }
     }
    
    
   var tabber = window.location.hash.replace('#', '').replace(/_/g, ' ');
   /*var tabber = window.location.hash.replace('#', '').replace(/_/g, ' ');
   if (tabber && tabber !== '') {
   if (tabber && tabber !== '') {
     var matchedTab = $('.tabber-tab:contains("'+tabber+'")')
     var matchedTab = $('.tabber-tab:contains("'+tabber+'")')
     matchedTab.eq(0).click();
     matchedTab.eq(0).click();
     matchedTab[0].scrollIntoView();
     matchedTab[0].scrollIntoView();
   }
   }*/
    
    
});
});
});
});