Skip to content

Commit 18dc82e

Browse files
author
Daniel Herzog
committed
Readability fixes;
1 parent 6844ca7 commit 18dc82e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/network/network_details_templates.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -456,15 +456,11 @@ templates._response_body = function(resp, do_raw, is_last_response)
456456
// Attempt to display the responsebody.
457457
if (TEXT_TYPES.contains(resp.logger_entry_type))
458458
{
459-
ret.push(
460-
this._pre(resp.responsebody.content.stringData) // todo: don't pre here
461-
);
459+
ret.push(this._pre(resp.responsebody.content.stringData));
462460
}
463461
else if (resp.logger_entry_type == "image")
464462
{
465-
ret.push(
466-
["img", "src", resp.responsebody.content.stringData]
467-
);
463+
ret.push(["img", "src", resp.responsebody.content.stringData]);
468464
}
469465
else
470466
{

0 commit comments

Comments
 (0)