Bug 1433611 - Follow up: rename isSplitRuleViewEnabled to is3PaneModeEnabled in rules.js. r=me
authorGabriel Luong <gabriel.luong@gmail.com>
Thu, 05 Apr 2018 14:46:58 -0400
changeset 412033 1ce779d6d8800666c086e7880f54b4158b7c727b
parent 412032 9c941daebe9fb3e79066ee4def16ed5ce0eb10a9
child 412034 cf8304a1e46d1689b6ab8274af119805126583d8
push id33781
push userapavel@mozilla.com
push dateFri, 06 Apr 2018 14:39:11 +0000
treeherdermozilla-central@6792eee0c9c5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1433611
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1433611 - Follow up: rename isSplitRuleViewEnabled to is3PaneModeEnabled in rules.js. r=me
devtools/client/inspector/rules/rules.js
--- a/devtools/client/inspector/rules/rules.js
+++ b/devtools/client/inspector/rules/rules.js
@@ -1768,17 +1768,17 @@ function RuleViewTool(inspector, window)
 }
 
 RuleViewTool.prototype = {
   isSidebarActive: function() {
     if (!this.view) {
       return false;
     }
 
-    return this.inspector.isSplitRuleViewEnabled ?
+    return this.inspector.is3PaneModeEnabled ?
       true : this.inspector.sidebar.getCurrentTabID() == "ruleview";
   },
 
   onDetachedFront: function() {
     this.onSelected(false);
   },
 
   onSelected: function(selectElement = true) {