mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-14 19:14:41 +00:00
Depend on ext.wikiEditor.toolbar
Depend on ext.wikiEditor.toolbar instead of just ext.wikiEditor since both are needed, and under certain circumstances the module would try to initialise before the toolbar component was loaded. Change-Id: Ie6a725513399815670ff0d24fa394c0b3b3a2a7e
This commit is contained in:
parent
79bd275867
commit
c41ec784f9
|
@ -35,7 +35,7 @@ $tpl = array(
|
|||
$wgResourceModules['ext.codeEditor'] = array(
|
||||
'scripts' => 'ext.codeEditor.js',
|
||||
'dependencies' => array(
|
||||
'ext.wikiEditor',
|
||||
'ext.wikiEditor.toolbar',
|
||||
'jquery.codeEditor'
|
||||
),
|
||||
) + $tpl;
|
||||
|
|
Loading…
Reference in a new issue