User:Z0eff/common.js: Difference between revisions

From Ara: History Untold Wiki
No edit summary
No edit summary
Line 6: Line 6:
     document.querySelector('.limited-width-toggle-off').click();
     document.querySelector('.limited-width-toggle-off').click();
}
}
window.onload = function() {
    // Your JavaScript code here
};

Revision as of 01:51, 29 October 2024

if ( [ 'edit', 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) > -1 ) {
    $( '#wpTextbox1' ).css( 'height', '700px' );
}

window.onload = function () {
    document.querySelector('.limited-width-toggle-off').click();
}