fix history range

jh-changes
Shin'ya Ueoka 7 years ago
parent bf8470e131
commit 43cf68b65b
  1. 2
      src/background/histories.js

@ -50,7 +50,7 @@ const reduceByOrigin = (items, min) => {
const getCompletions = (keyword) => { const getCompletions = (keyword) => {
return browser.history.search({ return browser.history.search({
text: keyword, text: keyword,
startTime: '1970-01-01' startTime: 0,
}).then((historyItems) => { }).then((historyItems) => {
return [historyItems.map(item => [item, new URL(item.url)])] return [historyItems.map(item => [item, new URL(item.url)])]
.map(filterEmptyTitle) .map(filterEmptyTitle)