1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-17 07:33:32 +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) { get: function (url) {
let ids = bookmarks.getBookmarkIdsForURI(util.newURI(url)); let ids = bookmarks.getBookmarkIdsForURI(util.newURI(url), {});
for (let id in values(ids)) for (let id in values(ids))
if (id in this.bookmarks) if (id in this.bookmarks)
return this.bookmarks[id]; return this.bookmarks[id];