From 05c7a64b6d41a87c92332556e80fbaa75f12d761 Mon Sep 17 00:00:00 2001 From: Kostyantyn Leschenko Date: Mon, 20 Nov 2017 16:24:25 +0200 Subject: [PATCH] Fix history completion to show most frequent results first. --- src/background/histories.js | 1 - 1 file changed, 1 deletion(-) 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]; }); };