mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
use _.debounce instead of _.throttle for search
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user