MediaWiki:RefToolbar.js: Difference between revisions

Content deleted Content added
Avoid jumping back to the top href="#"
m grammar fix to source comment "its" to "it is"
Line 12:
}
 
// only load on edit, unless itsit is a user JS/CSS page
if ((wgAction == 'edit' || wgAction == 'submit') && !((wgNamespaceNumber == 2 || wgNamespaceNumber == 4) &&
(wgPageName.indexOf('.js') != -1 || wgPageName.indexOf('.css') != -1 ))) {