mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-28 01:10:09 +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