From 11d0bebbc5c95f036304755399d8994be1658330 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Tue, 8 May 2018 20:09:32 +0900 Subject: limit history items --- src/background/shared/completions/bookmarks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/background/shared/completions/bookmarks.js b/src/background/shared/completions/bookmarks.js index aedaccf..1adb350 100644 --- a/src/background/shared/completions/bookmarks.js +++ b/src/background/shared/completions/bookmarks.js @@ -8,7 +8,7 @@ const getCompletions = (keywords) => { return false; } return item.type === 'bookmark' && url.protocol !== 'place:'; - }); + }).slice(0, 10); }); }; -- cgit v1.2.3