Commit 05ea948f authored by Beth Rennie's avatar Beth Rennie
Browse files

Bug 1776473d - Stop using NimbusFeature.isEnabled for updateDialog r=Gijs

parent 955fddb1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4359,7 +4359,9 @@ BrowserGlue.prototype = {
        return "disallow-postUpdate";
      }

      return lazy.NimbusFeatures.upgradeDialog.isEnabled() ? "" : "disabled";
      return lazy.NimbusFeatures.upgradeDialog.getVariable("enabled")
        ? ""
        : "disabled";
    })();

    // Record why the dialog is showing or not.