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:
@@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user