aboutsummaryrefslogtreecommitdiff
path: root/src/background
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-05-08 20:09:32 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-05-08 20:09:32 +0900
commit11d0bebbc5c95f036304755399d8994be1658330 (patch)
treea45d82bfe44cf23ca3d93bd202fd29cb8ca19869 /src/background
parent582cc9a25a604766aa8c2705f0736e71cb640895 (diff)
limit history items
Diffstat (limited to 'src/background')
-rw-r--r--src/background/shared/completions/bookmarks.js2
1 files changed, 1 insertions, 1 deletions
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);
});
};