Skip to content

Commit 9e52001

Browse files
author
p01
committed
Show the URL of the resources in the inspection tooltip
1 parent 6dfe420 commit 9e52001

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/resource-manager/resource_templates.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,9 @@ templates.resource_tree =
219219
'span',
220220
(r.filename || r.short_distinguisher || r.url || 'NO URL'),
221221
'class','resource-tree-resource-label',
222-
'style', 'margin-left:'+ (1+depth)*this.DEPTH_IDENTATION +'px;'
222+
'style', 'margin-left:'+ (1+depth)*this.DEPTH_IDENTATION +'px;',
223+
'data-tooltip','js-script-select',
224+
'data-tooltip-text',r.url
223225
];
224226
var tpl =
225227
['li',

0 commit comments

Comments
 (0)