mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
Merge "Use nullSelectionOnBlur=false for ArticleTargets"
This commit is contained in:
commit
49969c92d2
|
@ -1819,6 +1819,15 @@ ve.init.mw.ArticleTarget.prototype.createSurface = function () {
|
|||
return surface;
|
||||
};
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
ve.init.mw.ArticleTarget.prototype.getSurfaceConfig = function ( config ) {
|
||||
return ve.init.mw.ArticleTarget.super.prototype.getSurfaceConfig.call( this, ve.extendObject( {
|
||||
nullSelectionOnBlur: false
|
||||
}, config ) );
|
||||
};
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue