aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/background/histories.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/background/histories.js b/src/background/histories.js
index 42f7fd1..d70cf57 100644
--- a/src/background/histories.js
+++ b/src/background/histories.js
@@ -60,6 +60,7 @@ 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];
});
};