Index: Source/devtools/front_end/elements/EventListenersSidebarPane.js |
diff --git a/Source/devtools/front_end/elements/EventListenersSidebarPane.js b/Source/devtools/front_end/elements/EventListenersSidebarPane.js |
index a639a53f2ffc2fbf47c437329ae2b1655d3ab278..508048bf16528f1c6b5c6b82365deb38c9e45406 100644 |
--- a/Source/devtools/front_end/elements/EventListenersSidebarPane.js |
+++ b/Source/devtools/front_end/elements/EventListenersSidebarPane.js |
@@ -267,7 +267,8 @@ WebInspector.EventListenerBar.prototype = { |
_setFunctionSubtitle: function(linkifier) |
{ |
this.subtitleElement.removeChildren(); |
- this.subtitleElement.appendChild(linkifier.linkifyRawLocation(this._eventListener.location())); |
+ var link = linkifier.linkifyRawLocation(this._eventListener.location(), this._eventListener.sourceName()); |
+ this.subtitleElement.appendChild(link); |
}, |
__proto__: WebInspector.ObjectPropertiesSection.prototype |