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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user