File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -411,9 +411,7 @@ var renderPopup = function() {
411
411
elem . classList . toggle ( 'advancedUser' , popupData . advancedUserEnabled ) ;
412
412
elem . classList . toggle (
413
413
'off' ,
414
- popupData . pageURL === '' ||
415
- ! popupData . netFilteringSwitch ||
416
- popupData . pageHostname === 'behind-the-scene' && ! popupData . advancedUserEnabled
414
+ popupData . pageURL === '' || ! popupData . netFilteringSwitch
417
415
) ;
418
416
419
417
// If you think the `=== true` is pointless, you are mistaken
@@ -649,12 +647,6 @@ messaging.addChannelListener('popup', onPopupMessage);
649
647
650
648
var toggleNetFilteringSwitch = function ( ev ) {
651
649
if ( ! popupData || ! popupData . pageURL ) { return ; }
652
- if (
653
- popupData . pageHostname === 'behind-the-scene' &&
654
- ! popupData . advancedUserEnabled
655
- ) {
656
- return ;
657
- }
658
650
messaging . send (
659
651
'popupPanel' ,
660
652
{
You can’t perform that action at this time.
0 commit comments