Index: Source/devtools/front_end/SourcesPanel.js |
diff --git a/Source/devtools/front_end/SourcesPanel.js b/Source/devtools/front_end/SourcesPanel.js |
index 1300cc229133b4408e2256e72677be547eb72d9e..b9f2e6a94a8ea85a6a29f746885e75e2fdbf59dc 100644 |
--- a/Source/devtools/front_end/SourcesPanel.js |
+++ b/Source/devtools/front_end/SourcesPanel.js |
@@ -925,11 +925,11 @@ WebInspector.SourcesPanel.prototype = { |
this._toggleBreakpointsButton.toggled = !active; |
if (active) { |
this._toggleBreakpointsButton.title = WebInspector.UIString("Deactivate breakpoints."); |
- WebInspector.inspectorView.element.removeStyleClass("breakpoints-deactivated"); |
+ WebInspector.inspectorView.container().removeStyleClass("breakpoints-deactivated"); |
pfeldman
2013/11/18 15:07:42
Usage of inspectorView from within panels is disco
dgozman
2013/11/21 16:38:51
Done.
|
this.sidebarPanes.jsBreakpoints.listElement.removeStyleClass("breakpoints-list-deactivated"); |
} else { |
this._toggleBreakpointsButton.title = WebInspector.UIString("Activate breakpoints."); |
- WebInspector.inspectorView.element.addStyleClass("breakpoints-deactivated"); |
+ WebInspector.inspectorView.container().addStyleClass("breakpoints-deactivated"); |
this.sidebarPanes.jsBreakpoints.listElement.addStyleClass("breakpoints-list-deactivated"); |
} |
}, |