MediaWiki:Gadget-extra-toolbar-buttons-core.js: Difference between revisions
Content deleted Content added
Previous edit didn't work. Instead unhiding the static edittools again for users with "window.noDefaultEdittools=true". Now it will flash off and on for them, but currently only one user uses that. |
Turning on spellchecking in the edit summary field, for Firefox. |
||
Line 157:
importScriptURI(url);
});
// Turn on spellchecking in the edit summary field, for Firefox.
// Temporary until [[bugzilla:21604]] is deployed
addOnloadHook( function() {
var wpSummary = document.getElementById( "wpSummary" );
if ( wpSummary && typeof wpSummary.spellcheck != undefined )
wpSummary.spellcheck = true;
} );
//</source>
|