EditSummaryWidget: Don't highlight first automatically

Bug: T50274
Change-Id: If9d46116caac381bfc7264652429377e60bb2a0b
This commit is contained in:
Ed Sanders 2019-04-24 17:58:46 +01:00
parent fa50329f62
commit e3846ed09b

View file

@ -24,7 +24,10 @@ ve.ui.MWEditSummaryWidget = function VeUiMWEditSummaryWidget( config ) {
ve.ui.MWEditSummaryWidget.super.call( this, ve.extendObject( { $pending: $( [] ) }, config ) );
// Mixin method
OO.ui.mixin.LookupElement.call( this, ve.extendObject( { allowSuggestionsWhenEmpty: false }, config ) );
OO.ui.mixin.LookupElement.call( this, ve.extendObject( {
allowSuggestionsWhenEmpty: false,
highlightFirst: false
}, config ) );
this.limit = config.limit || 6;
};