Skip to content

Commit 7f40a4b

Browse files
author
Daniel Herzog
committed
Intermediate commit, fixing search in network-details
1 parent 178ecc8 commit 7f40a4b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/network/network_details_templates.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ templates.did_not_touch_network = function(entry)
9797
["tbody",
9898
this._wrap_col_or_row( // Todo: Alternatively put into a headline, as these otherwise say "Request" here.
9999
["p", entry.urltype === data ? ui_strings.S_NETWORK_NOT_REQUESTED
100-
: ui_strings.S_NETWORK_SERVED_FROM_CACHE])
100+
: ui_strings.S_NETWORK_SERVED_FROM_CACHE,
101+
"class", "network-info"])
101102
]);
102103
};
103104

src/network/network_view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ cls.NetworkLogView = function(id, name, container_class, html, default_handler)
5252

5353
// the query_selector for the mode needs to be set even when there is currently no query.
5454
if (this.mode == DETAILS)
55-
this.text_search.set_query_selector("tbody:not(.network_info)");
55+
this.text_search.set_query_selector(".entry-details > *:not(.network_info)");
5656
else
5757
this.text_search.set_query_selector("[handler='select-network-request']");
5858

0 commit comments

Comments
 (0)