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

Commits:

1 changed file:

Changes:

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