MediaWiki:Common.js: Difference between revisions

no edit summary
(Undo revision 767450 by Ritsu (talk))
Tag: Undo
No edit summary
Line 302: Line 302:


docReady(function() {
docReady(function() {
setTimeout(function() {
document.querySelectorAll('.tabber-tab').forEach(function(node) {
document.querySelectorAll('.tabber-tab').forEach(function(node) {
             if (node.textContent.includes(localStorage.getItem('current-server'))) node.click()
             if (node.textContent.includes(localStorage.getItem('current-server'))) node.click()
         });
         });
}, 500);
});
});