Skip to content
This repository was archived by the owner on Dec 11, 2019. It is now read-only.

Commit ce20fe5

Browse files
authored
Merge pull request #5084 from brave/show-bookmark-history-url-suggestion
Show bookmarks in history auto-complete
2 parents e286569 + c871c54 commit ce20fe5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

js/components/urlBarSuggestions.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,11 @@ class UrlBarSuggestions extends ImmutableComponent {
297297
const title = site.get('title') || ''
298298
const location = site.get('location') || ''
299299
return (title.toLowerCase().includes(urlLocationLower) ||
300-
location.toLowerCase().includes(urlLocationLower)) &&
301-
(!site.get('tags') || site.get('tags').size === 0)
300+
location.toLowerCase().includes(urlLocationLower))
301+
// Note: Bookmkark sites are now included in history. This will allow
302+
// sites to appear in the auto-complete regardless of their bookmark
303+
// status. If history is turned off, bookmarked sites will appear
304+
// in the bookmark section.
302305
}
303306
}))
304307
}

0 commit comments

Comments
 (0)