User:Z0eff/common.js: Difference between revisions

From Ara: History Untold Wiki
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
if ( [ 'edit', 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) > -1 ) {
if ( [ 'edit', 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) > -1 ) {
     $( '#wpTextbox1' ).css( 'height', '700px' );
     $( '#wpTextbox1' ).css( 'height', '600px' );
}
}


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

Latest revision as of 02:57, 1 November 2024

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

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