From eed92da440efae40184a5693b68f533a2039fe91 Mon Sep 17 00:00:00 2001 From: Gijs Kruitbosch Date: Sat, 28 Mar 2020 15:26:12 +0000 Subject: [PATCH] Bug 1625457 - fix privacy pane when MOZ_DATA_REPORTING=false, r=jaws Differential Revision: https://phabricator.services.mozilla.com/D68559 --HG-- extra : moz-landing-system : lando --- browser/components/preferences/in-content/privacy.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/browser/components/preferences/in-content/privacy.js b/browser/components/preferences/in-content/privacy.js index 7a990125b596..8bd11a3bd1f8 100644 --- a/browser/components/preferences/in-content/privacy.js +++ b/browser/components/preferences/in-content/privacy.js @@ -503,11 +503,6 @@ var gPrivacyPane = { "command", gPrivacyPane.showSecurityDevices ); - setEventListener( - "telemetryDataDeletionLearnMore", - "command", - gPrivacyPane.showDataDeletion - ); this._pane = document.getElementById("panePrivacy"); @@ -644,6 +639,11 @@ var gPrivacyPane = { "command", gPrivacyPane.updateSubmitHealthReport ); + setEventListener( + "telemetryDataDeletionLearnMore", + "command", + gPrivacyPane.showDataDeletion + ); if (AppConstants.MOZ_NORMANDY) { this.initOptOutStudyCheckbox(); }