mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-18 01:30:32 +00:00
Merge "Extend height of the SetExtendsContent dialog"
This commit is contained in:
commit
990ea23797
|
@ -140,7 +140,14 @@ ve.ui.MWSetExtendsContentDialog.prototype.getTeardownProcess = function ( data )
|
|||
* @inheritdoc
|
||||
*/
|
||||
ve.ui.MWSetExtendsContentDialog.prototype.getBodyHeight = function () {
|
||||
return 250;
|
||||
// Temporarily copy-pasted from ve.ui.MWReferenceDialog.getBodyHeight, keep in sync!
|
||||
return Math.min(
|
||||
400,
|
||||
Math.max(
|
||||
300,
|
||||
Math.ceil( this.editPanel.$element[ 0 ].scrollHeight )
|
||||
)
|
||||
);
|
||||
};
|
||||
|
||||
/* Registration */
|
||||
|
|
Loading…
Reference in a new issue