User:Z0eff/common.js: Difference between revisions
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', ' | $( '#wpTextbox1' ).css( 'height', '600px' ); | ||
} | } | ||
/* | |||
window.onload = function () { | window.onload = function () { | ||
document.querySelector('.limited-width-toggle | document.querySelector('.vector-limited-width-toggle').click(); | ||
} | } | ||
*/ |