diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-12-09 18:18:14 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-12-09 18:18:14 +0100 |
commit | 14a8d2f5b83a1ea28abbb490f6c94c43b4e1f960 (patch) | |
tree | c114643959a6223289e8287e9daaa1b65a377356 /web/src/js/components/flowdetail.jsx.js | |
parent | 096a3af273ccb309820351b466e62382f62a2c36 (diff) | |
download | mitmproxy-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.js | 2 |
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; |