mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 02:07:59 +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) {
|
onItemChanged: function onItemChanged(itemId, property, isAnnotation, value) {
|
||||||
if (isAnnotation)
|
if (isAnnotation)
|
||||||
return;
|
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 (bookmark) {
|
||||||
if (property == "tags")
|
if (property == "tags")
|
||||||
value = tagging.getTagsForURI(util.newURI(bookmark.url), {});
|
value = tagging.getTagsForURI(util.newURI(bookmark.url), {});
|
||||||
|
|||||||
Reference in New Issue
Block a user