Skip to content

Commit ac4a06c

Browse files
author
p01
committed
Swapped the host and number of resources
1 parent 1be25a9 commit ac4a06c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/resource-manager/resource_templates.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ templates.resource_tree =
7272
windows:function(context)
7373
{
7474
var tpl =
75-
['div','',
75+
['div',
7676
['ul',
7777
context.windowList.map(this.window.bind(this, context)),
7878
'class','resource-tree-windows'
@@ -148,12 +148,12 @@ templates.resource_tree =
148148
'data-tooltip-text',d.url
149149
],
150150
' ',
151+
d.sameOrigin?[]:['span',d.url.host,'class','resource-domain'],
152+
' ',
151153
['span',
152154
'('+resources.length+')',
153155
'class','resource-tree-count'
154156
],
155-
' ',
156-
d.sameOrigin?[]:['span',d.url.host,'class','resource-domain'],
157157
'class','resource-tree-document',
158158
].concat( extras.tpl.h2 ),
159159
( resources.length == 0 || extras.collapsed )?[]:
@@ -240,6 +240,7 @@ templates.resource_tree =
240240

241241
partial_URL_match = (pos_first>0?'…':'')+r.url.substring( pos_first, pos_last)+(pos_last<r.url.length?'…':'');
242242
}
243+
243244
var tpl =
244245
['li',
245246
['h2',

0 commit comments

Comments
 (0)