diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-12-22 08:04:14 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-22 08:04:14 +0900 |
commit | a133ee3d6a26e6e762014a1c197f0de1e34123e5 (patch) | |
tree | 7e1e0a75f3c79671d1a2b8577b5246d1c1f91772 /src | |
parent | 4986fb57ec4400969f8e48cf013b7085379c9097 (diff) | |
parent | 05c7a64b6d41a87c92332556e80fbaa75f12d761 (diff) |
Merge pull request #221 from kleschenko/fixed_completion
Fix history completion to show most frequent results first.
Diffstat (limited to 'src')
-rw-r--r-- | src/background/histories.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/background/histories.js b/src/background/histories.js index 6b6e4c6..a7d3d47 100644 --- a/src/background/histories.js +++ b/src/background/histories.js @@ -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]; }); }; |