1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

use _.debounce instead of _.throttle for search

This commit is contained in:
kay.one 2013-09-17 23:03:09 -07:00
parent 344844234a
commit 4b5d03ac94

View File

@ -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) {