mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 03:52:33 +02:00
Using listenTo instead of on
This commit is contained in:
parent
6d280122ff
commit
551e6e2e5b
@ -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);
|
||||
},
|
||||
|
@ -34,7 +34,7 @@ define(
|
||||
allFilesDownloaded: allDownloaded
|
||||
});
|
||||
|
||||
this.model.on('sync', function () {
|
||||
this.listenTo(this.model, 'sync', function () {
|
||||
this.render();
|
||||
}, this);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user