aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy')
-rw-r--r--libmproxy/web/static/app.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/libmproxy/web/static/app.js b/libmproxy/web/static/app.js
index efd2bf95..044b9e35 100644
--- a/libmproxy/web/static/app.js
+++ b/libmproxy/web/static/app.js
@@ -506,7 +506,6 @@ var Navigation = _.extend({}, ReactRouter.Navigation, {
q[i] = dict[i] || undefined; //falsey values shall be removed.
}
}
- q._ = "_"; // workaround for https://github.com/rackt/react-router/pull/957
this.replaceWith(this.context.router.getCurrentPath(), this.context.router.getCurrentParams(), q);
},
replaceWith: function(routeNameOrPath, params, query) {
@@ -520,8 +519,6 @@ var Navigation = _.extend({}, ReactRouter.Navigation, {
query = this.context.router.getCurrentQuery();
}
- // FIXME: react-router is just broken,
- // we hopefully just need to wait for the next release with https://github.com/rackt/react-router/pull/957.
this.context.router.replaceWith(routeNameOrPath, params, query);
}
});