mw.Upload.Dialog: Make the dialog higher (600px)
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 14 Dec 2015 19:54:04 +0000 (20:54 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 14 Dec 2015 20:11:17 +0000 (20:11 +0000)
Avoids a scrollbar for option 4 of the A/B test from T120867.
300px was woefully insufficient for the second step, anyway.

Change-Id: Id9704565457af6a66186f03bbc9c2c57d09f2330

resources/src/mediawiki/mediawiki.Upload.Dialog.js

index 5f2569c..e8a85f1 100644 (file)
         * @inheritdoc
         */
        mw.Upload.Dialog.prototype.getBodyHeight = function () {
-               return 300;
+               return 600;
        };
 
        /**