Add series fixes

Fixed: Link to TheTVDB instead of Trakt on add series
Fixed: Don't show year 0 on add series
This commit is contained in:
Mark McDowall
2015-01-01 14:55:47 -08:00
parent 07c71296fb
commit a9d668b48d
3 changed files with 5 additions and 2 deletions
+4
View File
@@ -69,6 +69,10 @@ define(
return this.title;
}
if (!this.year) {
return this.title;
}
return new Handlebars.SafeString('{0} <span class="year">({1})</span>'.format(this.title, this.year));
});
});