User:Z0eff/common.js: Difference between revisions

From Ara: History Untold Wiki
No edit summary
No edit summary
 
(13 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' );
}
}


    document.addEventListener('DOMContentLoaded',function(){
/*
        document.getElementById("limited-width-toggle-on").click();
window.onload = function () {
    });
    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();
}
*/