mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-28 21:42:26 +01:00
Fix Bookmark Tag Completion
This change fixes Issue #122: Autocompleting Bookmark Tags Broken. Correct building a set of tags from the bookmark cache by fixing the corresponding flatMap parameters.
This commit is contained in:
@@ -437,7 +437,7 @@ var Bookmarks = Module("bookmarks", {
|
||||
description: "A comma-separated list of tags",
|
||||
completer: function tags(context) {
|
||||
context.generate = () => new RealSet(Array.from(bookmarkcache)
|
||||
.flatMap(b.tags));
|
||||
.flatMap(b => b.tags));
|
||||
|
||||
context.keys = { text: identity, description: identity };
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user