MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 272: Line 272:
/* Scoot menu down */
/* Scoot menu down */
(function(){
(function(){
setTimeout(function() {
    setTimeout(function() {
    var firstPanel = document.querySelector('.portal.first.persistent');
        var firstPanel = document.querySelector('.portal.first.persistent');
    var h3 = firstPanel.querySelector('h3');
        var h3 = firstPanel.querySelector('h3');
    h3.innerText = 'Research Wiki';
        h3.innerText = 'Research Wiki';
    h3.style.display = 'Block';
        h3.style.display = 'Block';
    h3.style.fontSize = '1em';
        h3.style.fontSize = '1em';
    firstPanel.style.marginTop = '10px';
        firstPanel.style.marginTop = '10px';
    firstPanel.style.marginBottom = '30px';
        firstPanel.style.marginBottom = '30px';
}, 100);
    }, 500);
})();
})();
152

edits