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..7ae60ca695509e5bb97aff98b5426dfd3b487639 100644 |
--- a/Source/devtools/front_end/elements/EventListenersSidebarPane.js |
+++ b/Source/devtools/front_end/elements/EventListenersSidebarPane.js |
@@ -267,7 +267,9 @@ WebInspector.EventListenerBar.prototype = { |
_setFunctionSubtitle: function(linkifier) |
{ |
this.subtitleElement.removeChildren(); |
- this.subtitleElement.appendChild(linkifier.linkifyRawLocation(this._eventListener.location())); |
+ var location = this._eventListener.location(); |
+ var link = linkifier.linkifyLocationByScriptId(location.target(), location.scriptId, this._eventListener.sourceName(), location.lineNumber, location.columnNumber); |
+ this.subtitleElement.appendChild(link); |
}, |
__proto__: WebInspector.ObjectPropertiesSection.prototype |