Commit 0cfed17e authored by brizental's avatar brizental
Browse files

fixup! Bug 40701: Add security warning when downloading a file

parent 4a6f464b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -278,7 +278,7 @@ function DownloadsPlacesView(

  torWarningMessageBar
    .querySelector(".downloads-tor-warning-dismiss-button")
    .addEventListener("click", event => {
    .addEventListener("click", () => {
      Services.prefs.setBoolPref(PREF_SHOW_DOWNLOAD_WARNING, false);
    });

+1 −1
Original line number Diff line number Diff line
@@ -169,7 +169,7 @@ var DownloadsPanel = {

      torWarningMessage
        .querySelector(".downloads-tor-warning-dismiss-button")
        .addEventListener("click", event => {
        .addEventListener("click", () => {
          Services.prefs.setBoolPref(PREF_SHOW_DOWNLOAD_WARNING, false);
        });
      this._torWarningInitialized = true;