Commit 88f3bd67 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

fixup! Bug 41736: Hide NoScript extension's toolbar button by default.

parent 4af1d938
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2723,11 +2723,13 @@ class AddonCard extends HTMLElement {
          addon.quarantineIgnoredByUser = e.target.value == "1";
          break;
        }
      } else if (name == "noscript-visibility") {
        case "noscript-visibility": {
          // Update the NoScript toolbar button visibility.
          // See tor-browser#41581.
          const hide = e.target.value !== "show";
          Services.prefs.setBoolPref(HIDE_NO_SCRIPT_PREF, hide);
          break;
        }
      }
    } else if (e.type == "mousedown") {
      // Open panel on mousedown when the mouse is used.