1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 12:24:19 +01:00

Fix BookmarkAdd autocommand keyword expansion.

This commit is contained in:
Doug Kearns
2008-12-23 22:50:53 +11:00
parent cf9cb136fc
commit 19b5905c98

View File

@@ -93,8 +93,11 @@ function Bookmarks() //{{{
let uri = util.newURI(node.uri);
let keyword = bookmarksService.getKeywordForBookmark(node.itemId);
let tags = taggingService.getTagsForURI(uri, {}) || [];
let bmark = new Bookmark(node.uri, node.title, node.icon && node.icon.spec, keyword, tags, node.itemId);
return bookmarks.push(new Bookmark(node.uri, node.title, node.icon && node.icon.spec, keyword, tags, node.itemId));
bookmarks.push(bmark);
return bmark;
}
function readBookmark(id)