mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-01 02:36:47 +00:00
Merge "Force Ace Editor to resize after the dialog has been rendered"
This commit is contained in:
commit
e04098facf
|
@ -228,7 +228,8 @@ ve.ui.MWMathDialog.prototype.getReadyProcess = function ( data ) {
|
||||||
return this.symbolsPromise;
|
return this.symbolsPromise;
|
||||||
}, this )
|
}, this )
|
||||||
.next( function () {
|
.next( function () {
|
||||||
this.input.focus().moveCursorToEnd();
|
// Resize the input once the dialog has been appended
|
||||||
|
this.input.adjustSize( true ).focus().moveCursorToEnd();
|
||||||
}, this );
|
}, this );
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue