mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Using listenTo instead of on
This commit is contained in:
parent
6d280122ff
commit
551e6e2e5b
2 changed files with 3 additions and 3 deletions
|
@ -78,11 +78,11 @@ define(
|
|||
episode.set({ hideSeriesLink: true, series: options.series });
|
||||
});
|
||||
|
||||
this.model.on('sync', function () {
|
||||
this.listenTo(this.model, 'sync', function () {
|
||||
this._afterSeasonMonitored();
|
||||
}, this);
|
||||
|
||||
this.episodeCollection.on('sync', function () {
|
||||
this.listenTo(this.episodeCollection, 'sync', function () {
|
||||
this.render();
|
||||
}, this);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue