mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-31 07:55:45 +01:00
Remove obsolete global private browsing code.
This commit is contained in:
@@ -1587,18 +1587,6 @@ var Options = Module("options", {
|
||||
dactyl.reportError(e);
|
||||
}
|
||||
},
|
||||
privateEnter: function privateEnter() {
|
||||
for (let opt of values(modules.options._options))
|
||||
if (opt.privateData && (!callable(opt.privateData) || opt.privateData(opt.value)))
|
||||
opt.oldValue = opt.value;
|
||||
},
|
||||
privateLeave: function privateLeave() {
|
||||
for (let opt of values(modules.options._options))
|
||||
if (opt.oldValue != null) {
|
||||
opt.value = opt.oldValue;
|
||||
opt.oldValue = null;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user