Skip to content

Commit a6280d4

Browse files
author
Daniel Herzog
committed
Don't attempt to trim numbers or undefined ;)
1 parent a678302 commit a6280d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/network/network_details_templates.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@ templates._details_content = function(entry, do_raw)
7676
["tr",
7777
["th", ui_strings.S_HTTP_LABEL_METHOD + ":"],
7878
["td", entry.touched_network ? entry.last_method : ui_strings.S_RESOURCE_ALL_NOT_APPLICABLE],
79-
"data-spec", "http#" + (entry.last_method).trim()
79+
"data-spec", "http#" + entry.last_method
8080
],
8181
["tr",
8282
["th", ui_strings.M_NETWORK_REQUEST_DETAIL_STATUS + ":"],
8383
["td",
8484
entry.touched_network && responsecode ? String(responsecode) : ui_strings.S_RESOURCE_ALL_NOT_APPLICABLE
8585
],
86-
"data-spec", "http#" + (entry.current_responsecode).trim()
86+
"data-spec", "http#" + entry.current_responsecode
8787
]
8888
],
8989
entry.touched_network ? [] : this.did_not_touch_network(entry),

0 commit comments

Comments
 (0)