henry pushed to branch mullvad-browser-147.0a1-16.0-2 at The Tor Project / Applications / Mullvad Browser

Commits:

1 changed file:

Changes:

  • browser/components/preferences/privacy.js
    ... ... @@ -3596,21 +3596,6 @@ var gPrivacyPane = {
    3596 3596
     
    
    3597 3597
         setSyncFromPrefListener("savePasswords", () => this.readSavePasswords());
    
    3598 3598
     
    
    3599
    -    if (AlertsServiceDND) {
    
    3600
    -      let notificationsDoNotDisturbBox = document.getElementById(
    
    3601
    -        "notificationsDoNotDisturbBox"
    
    3602
    -      );
    
    3603
    -      notificationsDoNotDisturbBox.removeAttribute("hidden");
    
    3604
    -      let checkbox = document.getElementById("notificationsDoNotDisturb");
    
    3605
    -      document.l10n.setAttributes(checkbox, "permissions-notification-pause");
    
    3606
    -      if (AlertsServiceDND.manualDoNotDisturb) {
    
    3607
    -        let notificationsDoNotDisturb = document.getElementById(
    
    3608
    -          "notificationsDoNotDisturb"
    
    3609
    -        );
    
    3610
    -        notificationsDoNotDisturb.setAttribute("checked", true);
    
    3611
    -      }
    
    3612
    -    }
    
    3613
    -
    
    3614 3599
         this.initSiteDataControls();
    
    3615 3600
     
    
    3616 3601
         this.initCookieBannerHandling();