Poster x-class

This commit is contained in:
Mark McDowall 2015-06-07 11:15:54 -07:00
parent 3c52a9066c
commit c9f1039ab4
1 changed files with 2 additions and 2 deletions

View File

@ -9,9 +9,9 @@ Handlebars.registerHelper('poster', function() {
if (poster[0]) { if (poster[0]) {
if (!poster[0].url.match(/^https?:\/\//)) { if (!poster[0].url.match(/^https?:\/\//)) {
return new Handlebars.SafeString('<img class="series-poster" {0}>'.format(Handlebars.helpers.defaultImg.call(null, poster[0].url, 250))); return new Handlebars.SafeString('<img class="series-poster x-series-poster" {0}>'.format(Handlebars.helpers.defaultImg.call(null, poster[0].url, 250)));
} else { } else {
return new Handlebars.SafeString('<img class="series-poster" {0}>'.format(Handlebars.helpers.defaultImg.call(null, poster[0].url))); return new Handlebars.SafeString('<img class="series-poster x-series-poster" {0}>'.format(Handlebars.helpers.defaultImg.call(null, poster[0].url)));
} }
} }