mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Make reference list dialog small again
Also remove now-useless size setting in save dialog Bug: 64670 Change-Id: I1abc760a27ce2b107a92413ff3d5da7d95915dc2
This commit is contained in:
parent
e52883df5a
commit
dfbb7815e9
|
@ -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 */
|
||||
|
||||
/**
|
||||
|
|
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue