diff options
Diffstat (limited to 'web/src/js/store/store.js')
-rw-r--r-- | web/src/js/store/store.js | 2 |
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); |