mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-03 19:05:47 +01:00
Fix history sanitization.
This commit is contained in:
@@ -108,7 +108,7 @@ var Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakRef
|
||||
if (host)
|
||||
services.history.removePagesFromHost(host, true);
|
||||
else
|
||||
services.history.removeVisitsByTimeframe(this.range.min, this.range.max);
|
||||
services.history.removeVisitsByTimeframe(range.min, range.max);
|
||||
|
||||
if (!host)
|
||||
services.observer.notifyObservers(null, "browser:purge-session-history", "");
|
||||
|
||||
Reference in New Issue
Block a user