mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Merge "Use widget.getApi, not this.getApi"
This commit is contained in:
commit
4e05b86cf3
|
@ -93,7 +93,7 @@ ve.ui.MWTemplateTitleInputWidget.prototype.getLookupRequest = function () {
|
|||
if ( widget.showRedirects ) {
|
||||
params.redirects = '1';
|
||||
}
|
||||
xhr = this.getApi().get( params );
|
||||
xhr = widget.getApi().get( params );
|
||||
return xhr.promise( { abort: xhr.abort } );
|
||||
}
|
||||
} )
|
||||
|
|
Loading…
Reference in a new issue