Index: Source/devtools/front_end/components/ObjectPropertiesSection.js |
diff --git a/Source/devtools/front_end/components/ObjectPropertiesSection.js b/Source/devtools/front_end/components/ObjectPropertiesSection.js |
index 9ffc15ca93c4c4c6ade75ed2c9df80ad8e260339..532f8272d09230f8f3b02edc8524c01bf05e75d8 100644 |
--- a/Source/devtools/front_end/components/ObjectPropertiesSection.js |
+++ b/Source/devtools/front_end/components/ObjectPropertiesSection.js |
@@ -1147,6 +1147,7 @@ WebInspector.ObjectPropertiesSection.createValueElement = function(value, wasThr |
if (type === "object" && subtype === "node" && description) { |
WebInspector.DOMPresentationUtils.createSpansForNodeTitle(valueElement, description); |
+ valueElement.addEventListener("click", mouseClick, false); |
valueElement.addEventListener("mousemove", mouseMove, false); |
valueElement.addEventListener("mouseleave", mouseLeave, false); |
} else { |
@@ -1163,6 +1164,15 @@ WebInspector.ObjectPropertiesSection.createValueElement = function(value, wasThr |
WebInspector.DOMModel.hideDOMNodeHighlight(); |
} |
+ /** |
+ * @param {!Event} event |
+ */ |
+ function mouseClick(event) |
+ { |
+ WebInspector.Revealer.reveal(value); |
+ event.consume(true); |
+ } |
+ |
return valueElement; |
} |