Merge pull request #221 from kleschenko/fixed_completion

Fix history completion to show most frequent results first.
This commit is contained in:
Shin'ya Ueoka 2017-12-22 08:04:14 +09:00 committed by GitHub
commit a133ee3d6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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];
});
};