mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 601255 - Hide the Private Browsing jumplist entry when inside permanent PB mode; r=dolske a=blocking-final+
This commit is contained in:
parent
9c4c5593b1
commit
a8f10cd5e3
@ -166,8 +166,14 @@ var tasksCfg = [
|
||||
},
|
||||
args: "-private-toggle",
|
||||
iconIndex: 0, // Fx app icon
|
||||
open: true,
|
||||
close: true,
|
||||
get open() {
|
||||
// Don't show when inside permanent private browsing mode
|
||||
return !_privateBrowsingSvc.autoStarted;
|
||||
},
|
||||
get close() {
|
||||
// Don't show when inside permanent private browsing mode
|
||||
return !_privateBrowsingSvc.autoStarted;
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user