Index: Source/devtools/front_end/ui/Section.js |
diff --git a/Source/devtools/front_end/ui/Section.js b/Source/devtools/front_end/ui/Section.js |
index d6d2fed578b9c3c0f3d50443cd31425185b017a2..d19a38c366c3dd299b55a62a2f80f2f5c225e015 100644 |
--- a/Source/devtools/front_end/ui/Section.js |
+++ b/Source/devtools/front_end/ui/Section.js |
@@ -151,11 +151,19 @@ WebInspector.Section.prototype = { |
*/ |
handleClick: function(event) |
{ |
+ if (this._doNotExpandOnTitleClick) |
+ return; |
+ |
if (this._expanded) |
this.collapse(); |
else |
this.expand(); |
event.consume(); |
+ }, |
+ |
+ doNotExpandOnTitleClick: function() |
+ { |
+ this._doNotExpandOnTitleClick = true; |
} |
} |