Jump to navigation
Jump to search
Jack Phoenix (talk | contribs) (maybe this needs to be outside the addOnloadHook() call) |
Jack Phoenix (talk | contribs) (<3) |
||
Line 8: | Line 8: | ||
); | ); | ||
// Oh look, someone's trying to be funny | // Oh look, someone's trying to be funny | ||
function check_edit_summary( event ) { | |||
return true; | |||
} | } | ||
} | } |
Revision as of 15:47, 6 June 2011
// Edit page JS
if ( wgAction == 'edit' || wgAction == 'submit' ) {
addOnloadHook(
function() {
// Widen the edit summary box on edit view (?action=edit) and on preview (?action=submit)
document.getElementById( 'wpSummary' ).setAttribute( 'size', 145 );
}
);
// Oh look, someone's trying to be funny
function check_edit_summary( event ) {
return true;
}
}