diff --git a/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js b/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js index aff4fb9f90..df2cab15d8 100644 --- a/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js +++ b/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js @@ -334,7 +334,7 @@ ve.ui.MWMediaDialog.prototype.initialize = function () { label: ve.msg( 'visualeditor-dialog-media-size-originalsize-error' ) } ); - this.sizeWidget = new ve.ui.MediaSizeWidget( {} ); + this.sizeWidget = new ve.ui.MediaSizeWidget(); this.$sizeWidgetElements = $( '