diff --git a/modules/ve-math/ve.ui.MWMathDialog.js b/modules/ve-math/ve.ui.MWMathDialog.js index 7c42fea..b46d1cc 100644 --- a/modules/ve-math/ve.ui.MWMathDialog.js +++ b/modules/ve-math/ve.ui.MWMathDialog.js @@ -225,8 +225,10 @@ 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 ) + .next( function () { + this.input.focus().moveCursorToEnd(); }, this ); };