From 4b5d03ac9456eea19c21519c2221131b9e285c83 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Tue, 17 Sep 2013 23:03:09 -0700 Subject: [PATCH] use _.debounce instead of _.throttle for search --- UI/AddSeries/AddSeriesView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/AddSeries/AddSeriesView.js b/UI/AddSeries/AddSeriesView.js index 6e3b832f9..e3815a3a5 100644 --- a/UI/AddSeries/AddSeriesView.js +++ b/UI/AddSeries/AddSeriesView.js @@ -49,7 +49,7 @@ define( 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) {