Difference between revisions of MediaWiki:Gadget-refToolbar.js
m 1 revision imported |
Viceroy Sam (talk | contribs) m →top: Typo fixing, typos fixed: accross → across |
||
| Line 46: | Line 46: | ||
if ( /^(edit|submit)$/.test( mw.config.get( 'wgAction' ) ) ) { | if ( /^(edit|submit)$/.test( mw.config.get( 'wgAction' ) ) ) { | ||
// Double check if user.options is loaded, to prevent errors when copy pasted | // Double check if user.options is loaded, to prevent errors when copy pasted across installations | ||
$.when( mw.loader.using( ['user.options'] ), $.ready ).then( initializeRefTools ); | $.when( mw.loader.using( ['user.options'] ), $.ready ).then( initializeRefTools ); | ||
} | } | ||
}() ); | }() ); | ||