From 55562c2aa74c8d849bf1e2d26fa9894c0f1f245d Mon Sep 17 00:00:00 2001 From: femnad Date: Fri, 25 Dec 2015 12:27:41 +0200 Subject: [PATCH] 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. --- common/content/bookmarks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/bookmarks.js b/common/content/bookmarks.js index a6d85c1e..bb8b30ea 100644 --- a/common/content/bookmarks.js +++ b/common/content/bookmarks.js @@ -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 }; },