Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #221 from kleschenko/fixed_completion
Browse files Browse the repository at this point in the history
Fix history completion to show most frequent results first.
  • Loading branch information
ueokande authored Dec 21, 2017
2 parents 4986fb5 + 05c7a64 commit a133ee3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/background/histories.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ const getCompletions = (keyword) => {
.sort((x, y) => x[0].visitCount < y[0].visitCount)
.slice(0, 10)
.map(item => item[0])
.sort((x, y) => x.url > y.url)
)[0];
});
};
Expand Down

0 comments on commit a133ee3

Please sign in to comment.