fixed fanart backdrop not showing up.

This commit is contained in:
Keivan Beigi 2013-06-13 17:39:53 -07:00
parent ca334ef664
commit c0d77fcca2
2 changed files with 7 additions and 2 deletions

View file

@ -20,7 +20,12 @@ define(['app', 'Series/Details/SeasonCollectionView', 'Shared/LoadingView'], fun
onShow: function () {
var self = this;
$.backstretch(this.model.get('fanArt'));
if (this.model.has('fanArt')) {
$.backstretch(this.model.get('fanArt'));
}
else {
$('body').removeClass('backdrop');
}
this.seasons.show(new NzbDrone.Shared.LoadingView());