MediaWiki:Gadget-Tabs.js: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
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 !== '') {
     var matchedTab = $('.tabber-tab:contains("'+tabber+'")')
     var matchedTab = $('.tabber-tab:contains("'+tabber+'")');
     matchedTab.eq(0).click();
     if (matchedTab.length) {
    matchedTab[0].scrollIntoView();
        matchedTab.eq(0).click();
   }*/
        matchedTab[0].scrollIntoView();
    }
   }
    
    
});
});
});
});