diff --git a/modules/ve-math/ve.ui.MWMathDialog.js b/modules/ve-math/ve.ui.MWMathDialog.js index a2fc701..0d57bd2 100644 --- a/modules/ve-math/ve.ui.MWMathDialog.js +++ b/modules/ve-math/ve.ui.MWMathDialog.js @@ -295,7 +295,7 @@ ve.ui.MWMathDialog.prototype.onWindowManagerResize = function () { maxInputHeight = availableSpace - borderAndPadding; minRows = Math.floor( maxInputHeight / singleLineHeight ); dialog.input.setMinRows( minRows ); - }, 250 ); + }, OO.ui.theme.getDialogTransitionDuration() ); } ); };