mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-26 19:56:49 +00:00
Merge "mw.ViewPageTarget.init: Log an error if target fails to load"
This commit is contained in:
commit
3b91c34194
|
@ -45,6 +45,8 @@
|
||||||
target.addPlugins( plugins );
|
target.addPlugins( plugins );
|
||||||
|
|
||||||
return target;
|
return target;
|
||||||
|
}, function ( e ) {
|
||||||
|
mw.log.warning( 'VisualEditor failed to load: ' + e );
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
return targetPromise;
|
return targetPromise;
|
||||||
|
|
Loading…
Reference in a new issue