aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/store/store.js
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-12-24 01:07:57 +0100
committerMaximilian Hils <git@maximilianhils.com>2014-12-24 01:07:57 +0100
commit1c4f4c2494a97d0088e48405c1f8f4f48846f180 (patch)
treef0736aea413941836f01b4dbe52942031ecfa870 /web/src/js/store/store.js
parentb1311faa68947b982dbbe8b8f3e9d26b2356b1c2 (diff)
downloadmitmproxy-1c4f4c2494a97d0088e48405c1f8f4f48846f180.tar.gz
mitmproxy-1c4f4c2494a97d0088e48405c1f8f4f48846f180.tar.bz2
mitmproxy-1c4f4c2494a97d0088e48405c1f8f4f48846f180.zip
web: duplicate, delete, replay flows
Diffstat (limited to 'web/src/js/store/store.js')
-rw-r--r--web/src/js/store/store.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/js/store/store.js b/web/src/js/store/store.js
index cc862aeb..ce5c0338 100644
--- a/web/src/js/store/store.js
+++ b/web/src/js/store/store.js
@@ -19,7 +19,7 @@ _.extend(ListStore.prototype, EventEmitter.prototype, {
this.emit("update", elem);
},
remove: function (elem_id) {
- if (!(elem.id in this._pos_map)) {
+ if (!(elem_id in this._pos_map)) {
return;
}
this.list.splice(this._pos_map[elem_id], 1);