Merge "Focus input and move cursor to end when MathDialog opens"
This commit is contained in:
commit
a56ee3ee1b
|
@ -224,6 +224,7 @@ ve.ui.MWMathDialog.prototype.getSetupProcess = function ( data ) {
|
|||
ve.ui.MWMathDialog.prototype.getReadyProcess = function ( data ) {
|
||||
return ve.ui.MWMathDialog.super.prototype.getReadyProcess.call( this, data )
|
||||
.next( function () {
|
||||
this.input.focus().moveCursorToEnd();
|
||||
return this.symbolsPromise;
|
||||
}, this );
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue