1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

Use better identifying name for overview panel

This commit is contained in:
Raymond Hill 2021-01-07 08:19:47 -05:00
parent 1fcc3c6ddc
commit e4e7cbc78f
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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 ) {