Permalink
Browse files

DFL-3617: Clicking the tiny triangle preceeding the Request and Respo…

…nse headlines in the Network detail overlay only apply to the Request
  • Loading branch information...
1 parent c465986 commit f11dc8f553a882207fa3e840c96ae30eb5838a33 Daniel Herzog committed Sep 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/network/network_view.js
@@ -841,9 +841,9 @@ cls.NetworkDetailOverlayViewPrototype = function()
return templates.network.details(entry);
};
- this._on_toggle_expand_request_response = function(event)
+ this._on_toggle_expand_request_response = function(event, target)
{
- var key = event.target.dataset.isResponse ? "expand-responses" : "expand-requests";
+ var key = target.dataset.isResponse ? "expand-responses" : "expand-requests";
var set_active = !settings["network-detail-overlay"].get(key);
settings["network-detail-overlay"].set(key, set_active);
this.needs_instant_update = true;

2 comments on commit f11dc8f

Contributor

chriskr replied Sep 20, 2012

Looks good.

Contributor

p01 replied Sep 20, 2012

Good.
Just tested locally ;)

Please sign in to comment.