mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Moved refocusing on surface view input up to es.Inspector
This commit is contained in:
parent
ef35fc2be2
commit
3edaaf390d
|
@ -49,6 +49,7 @@ es.Inspector.prototype.close = function() {
|
|||
this.onClose();
|
||||
}
|
||||
this.emit( 'close' );
|
||||
surfaceView.$input.focus();
|
||||
};
|
||||
|
||||
/* Inheritance */
|
||||
|
|
|
@ -78,7 +78,6 @@ es.LinkInspector.prototype.onClose = function() {
|
|||
{ 'type': 'link/internal', 'data': { 'title': title } }
|
||||
);
|
||||
surfaceModel.transact( set );
|
||||
surfaceView.$input.focus();
|
||||
};
|
||||
|
||||
/* Inheritance */
|
||||
|
|
Loading…
Reference in a new issue