aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/flowdetail.jsx.js
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-12-09 18:18:14 +0100
committerMaximilian Hils <git@maximilianhils.com>2014-12-09 18:18:14 +0100
commit14a8d2f5b83a1ea28abbb490f6c94c43b4e1f960 (patch)
treec114643959a6223289e8287e9daaa1b65a377356 /web/src/js/components/flowdetail.jsx.js
parent096a3af273ccb309820351b466e62382f62a2c36 (diff)
downloadmitmproxy-14a8d2f5b83a1ea28abbb490f6c94c43b4e1f960.tar.gz
mitmproxy-14a8d2f5b83a1ea28abbb490f6c94c43b4e1f960.tar.bz2
mitmproxy-14a8d2f5b83a1ea28abbb490f6c94c43b4e1f960.zip
always use the app dispatcher
Diffstat (limited to 'web/src/js/components/flowdetail.jsx.js')
-rw-r--r--web/src/js/components/flowdetail.jsx.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/js/components/flowdetail.jsx.js b/web/src/js/components/flowdetail.jsx.js
index 2bda5b80..6d46cd2e 100644
--- a/web/src/js/components/flowdetail.jsx.js
+++ b/web/src/js/components/flowdetail.jsx.js
@@ -306,7 +306,7 @@ var FlowDetail = React.createClass({
return tabs;
},
nextTab: function (i) {
- var tabs = this.getTabs();
+ var tabs = this.getTabs(this.props.flow);
var currentIndex = tabs.indexOf(this.getParams().detailTab);
// JS modulo operator doesn't correct negative numbers, make sure that we are positive.
var nextIndex = (currentIndex + i + tabs.length) % tabs.length;