mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 00:17:58 +01:00
Fix Minefield.
This commit is contained in:
@@ -299,7 +299,7 @@ var Modes = Module("modes", {
|
||||
return;
|
||||
}
|
||||
|
||||
params = params || this.getMode(mainMode || this.main).params;
|
||||
params = params || Object.create(this.getMode(mainMode || this.main).params);
|
||||
|
||||
if (!stack && mainMode != null && this._modeStack.length > 1)
|
||||
this.reset();
|
||||
|
||||
@@ -184,7 +184,11 @@ var BookmarkCache = Module("BookmarkCache", XPCOM(Ci.nsINavBookmarkObserver), {
|
||||
let query = services.history.getNewQuery();
|
||||
let options = services.history.getNewQueryOptions();
|
||||
options.queryType = options.QUERY_TYPE_BOOKMARKS;
|
||||
options.excludeItemIfParentHasAnnotation = "livemark/feedURI";
|
||||
try {
|
||||
// https://bugzil.la/702639
|
||||
options.excludeItemIfParentHasAnnotation = "livemark/feedURI";
|
||||
}
|
||||
catch (e) {}
|
||||
|
||||
let { root } = services.history.executeQuery(query, options);
|
||||
root.containerOpen = true;
|
||||
|
||||
Reference in New Issue
Block a user