mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-08 12:25:45 +01:00
Don't show the "all" item in the sanitize dialog.
This commit is contained in:
@@ -130,7 +130,7 @@ const Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakR
|
||||
|
||||
function ourItems(persistent) [
|
||||
item for (item in self.itemMap)
|
||||
if (!item.builtin && (!persistent || item.persistent))
|
||||
if (!item.builtin && (!persistent || item.persistent) && item.name !== "all")
|
||||
];
|
||||
|
||||
function prefOverlay(branch, persistent, local) update(Object.create(local), {
|
||||
|
||||
Reference in New Issue
Block a user