mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
Merge "Use findFirstSelectableitem instead of getFirstSelectableItem"
This commit is contained in:
commit
f17b099984
|
@ -181,6 +181,6 @@ ve.ui.MWParameterSearchWidget.prototype.addResults = function () {
|
|||
|
||||
this.results.addItems( items );
|
||||
if ( hasQuery ) {
|
||||
this.results.highlightItem( this.results.getFirstSelectableItem() );
|
||||
this.results.highlightItem( this.results.findFirstSelectableItem() );
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue