1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-06 13:45:47 +01:00

Fix bookmarkcache.get on Gecko 1.9.2.

This commit is contained in:
Kris Maglione
2010-11-18 22:42:56 -05:00
parent 3771166126
commit 8b1a5132b7

View File

@@ -57,7 +57,7 @@ const BookmarkCache = Module("BookmarkCache", XPCOM(Ci.nsINavBookmarkObserver),
},
get: function (url) {
let ids = bookmarks.getBookmarkIdsForURI(util.newURI(url));
let ids = bookmarks.getBookmarkIdsForURI(util.newURI(url), {});
for (let id in values(ids))
if (id in this.bookmarks)
return this.bookmarks[id];