Skip to content

Commit

Permalink
completer: fix a typo causing too many refreshing
Browse files Browse the repository at this point in the history
  • Loading branch information
gdh1995 authored and philc committed May 22, 2022
1 parent 5b7cac9 commit e10d269
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions background_scripts/completion.js
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,8 @@ class MultiCompleter {

cancel(port) {
for (let c of this.completers)
if (c.refresh)
c.refresh(port);
if (c.cancel)
c.cancel(port);
}

filter(request, onComplete) {
Expand Down

0 comments on commit e10d269

Please sign in to comment.