MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 261: Line 261:
     }
     }
}, 2000);
}, 2000);
/* Fix for double title */
(function(){
    var mainTitle = document.querySelector('#firstHeading');
    var secondTitle = document.querySelector('#mw-content-text > h1');
    if(mainTitle && secondTitle){
        mainTitle.hidden = true;
    }
})();
152

edits