diff --git a/modules/ve-mw/ui/dialogs/ve.ui.MWReferenceListDialog.js b/modules/ve-mw/ui/dialogs/ve.ui.MWReferenceListDialog.js index 4c9df8fb2e..a3bbf620c2 100644 --- a/modules/ve-mw/ui/dialogs/ve.ui.MWReferenceListDialog.js +++ b/modules/ve-mw/ui/dialogs/ve.ui.MWReferenceListDialog.js @@ -15,9 +15,6 @@ * @param {Object} [config] Configuration options */ ve.ui.MWReferenceListDialog = function VeUiMWReferenceListDialog( config ) { - // Configuration initialization - config = ve.extendObject( { 'size': 'small' }, config ); - // Parent constructor ve.ui.MWReferenceListDialog.super.call( this, config ); }; @@ -37,6 +34,8 @@ ve.ui.MWReferenceListDialog.static.icon = 'references'; ve.ui.MWReferenceListDialog.static.modelClasses = [ ve.dm.MWReferenceListNode ]; +ve.ui.MWReferenceListDialog.static.defaultSize = 'small'; + /* Methods */ /** diff --git a/modules/ve-mw/ui/dialogs/ve.ui.MWSaveDialog.js b/modules/ve-mw/ui/dialogs/ve.ui.MWSaveDialog.js index f2c83ab85a..26859fc426 100644 --- a/modules/ve-mw/ui/dialogs/ve.ui.MWSaveDialog.js +++ b/modules/ve-mw/ui/dialogs/ve.ui.MWSaveDialog.js @@ -20,9 +20,6 @@ * @param {Object} [config] Config options */ ve.ui.MWSaveDialog = function VeUiMWSaveDialog( config ) { - // Configuration initialization - config = ve.extendObject( { 'size': 'medium' }, config ); - // Parent constructor ve.ui.Dialog.call( this, config );