use _.debounce instead of _.throttle for search

pull/6/head
kay.one 11 years ago
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…
Cancel
Save