Fix history completion to show most frequent results first.

This commit is contained in:
Kostyantyn Leschenko 2017-11-20 16:24:25 +02:00
parent 507c5b4f78
commit 05c7a64b6d

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