mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-16 23:22:30 +02:00
Fix history sanitization.
This commit is contained in:
1 parent
cf90827bb8
commit
56205f3be9
1 file changed
+1
-1
@@ -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