diff options
Diffstat (limited to 'web/src/js/store/store.js')
-rw-r--r-- | web/src/js/store/store.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/src/js/store/store.js b/web/src/js/store/store.js index 0f94e496..30932f18 100644 --- a/web/src/js/store/store.js +++ b/web/src/js/store/store.js @@ -29,7 +29,7 @@ _.extend(ListStore.prototype, EventEmitter.prototype, { reset: function (elems) { this.list = elems || []; this._build_map(); - this.emit("recalculate", this.list); + this.emit("recalculate"); }, _build_map: function () { this._pos_map = {}; @@ -54,11 +54,11 @@ function DictStore() { _.extend(DictStore.prototype, EventEmitter.prototype, { update: function (dict) { _.merge(this.dict, dict); - this.emit("recalculate", this.dict); + this.emit("recalculate"); }, reset: function (dict) { this.dict = dict || {}; - this.emit("recalculate", this.dict); + this.emit("recalculate"); } }); |