1
0
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:
Kris Maglione
2010-09-20 11:45:18 -04:00
parent 29eef10f03
commit 57e22e9037

View File

@@ -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), {});