User:Z0eff/common.js: Difference between revisions

From Ara: History Untold Wiki
No edit summary
No edit summary
Line 3: Line 3:
}
}


document.addEventListener('DOMContentLoaded',function(){
$(document).ready(function () {
     document.getElementById("vector-limited-width-toggle").click();
     $("input[name=vector-limited-width-toggle]").click();
});
});

Revision as of 01:28, 29 October 2024

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

$(document).ready(function () {
    $("input[name=vector-limited-width-toggle]").click();
});