mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 03:52:31 +02:00
Don't show the "all" item in the sanitize dialog.
This commit is contained in:
1 parent
3f42eee0db
commit
cd60cf81f6
4 files changed
+3
-6
No files matched your search
@@ -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