Difference between revisions of MediaWiki:Gadget-refToolbar.js

NottNott (talk | contribs)
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 accross installations
// 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 );
}
}


}() );
}() );