mirror of https://github.com/gorhill/uBlock.git
Use better identifying name for overview panel
This commit is contained in:
parent
1fcc3c6ddc
commit
e4e7cbc78f
|
@ -126,10 +126,10 @@
|
||||||
µBlock.noDashboard = disableDashboard === true;
|
µBlock.noDashboard = disableDashboard === true;
|
||||||
if ( Array.isArray(disabledPopupPanelParts) ) {
|
if ( Array.isArray(disabledPopupPanelParts) ) {
|
||||||
const partNameToBit = new Map([
|
const partNameToBit = new Map([
|
||||||
[ 'globalStats', 0b00010 ],
|
[ 'globalStats', 0b00010 ],
|
||||||
[ 'basicTools', 0b00100 ],
|
[ 'basicTools', 0b00100 ],
|
||||||
[ 'extraTools', 0b01000 ],
|
[ 'extraTools', 0b01000 ],
|
||||||
[ 'firewall', 0b10000 ],
|
[ 'overviewPane', 0b10000 ],
|
||||||
]);
|
]);
|
||||||
let bits = hsDefault.popupPanelDisabledSections;
|
let bits = hsDefault.popupPanelDisabledSections;
|
||||||
for ( const part of disabledPopupPanelParts ) {
|
for ( const part of disabledPopupPanelParts ) {
|
||||||
|
|
Loading…
Reference in New Issue