use _.debounce instead of _.throttle for search
This commit is contained in:
parent
344844234a
commit
4b5d03ac94
|
@ -49,7 +49,7 @@ define(
|
||||||
isExisting: this.isExisting
|
isExisting: this.isExisting
|
||||||
});
|
});
|
||||||
|
|
||||||
this.throttledSearch = _.throttle(this.search, 1000, {trailing: true}).bind(this);
|
this.throttledSearch = _.debounce(this.search, 1000, {trailing: true}).bind(this);
|
||||||
},
|
},
|
||||||
|
|
||||||
_onSeriesAdded: function (options) {
|
_onSeriesAdded: function (options) {
|
||||||
|
|
Loading…
Reference in New Issue