mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 22:08:00 +01:00
Fix bookmark cache updates.
This commit is contained in:
@@ -131,7 +131,7 @@ const BookmarkCache = Module("BookmarkCache", {
|
||||
onItemChanged: function onItemChanged(itemId, property, isAnnotation, value) {
|
||||
if (isAnnotation)
|
||||
return;
|
||||
let bookmark = bookmarks.filter(function (item) item.id == itemId)[0];
|
||||
let bookmark = bookmarkcache.bookmarks.filter(function (item) item.id == itemId)[0];
|
||||
if (bookmark) {
|
||||
if (property == "tags")
|
||||
value = tagging.getTagsForURI(util.newURI(bookmark.url), {});
|
||||
|
||||
Reference in New Issue
Block a user