Jump to content

User:AnotherConsumerRightsPerson/common.js: Difference between revisions

From Consumer Rights Wiki
No edit summary
Undo revision 25224 by AnotherConsumerRightsPerson (talk) OMG HOW
Tags: Blanking Undo
 
Line 1: Line 1:
//<nowiki>
 
function enablePublishButton() { document.editform.wpSave.style.background = ""; }
if ( document.editform && mw.config.get('wgNamespaceNumber') == 0 && mw.config.get('wgAction') == 'edit' ) {
document.editform.wpSave.style.background = "red";
document.editform.wpSummary.onclick = enablePublishButton;
document.editform.wpSummary.onchange = enablePublishButton;
}
//</nowiki>

Latest revision as of 08:17, 21 September 2025