1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-27 02:07:41 +00:00

fixed 404 placeholder image template helper.

This commit is contained in:
kay.one 2013-06-24 23:27:34 -07:00
parent 4318b66a6e
commit f8fee8e3d0

View file

@ -5,6 +5,6 @@ define(
'handlebars' 'handlebars'
], function (Handlebars) { ], function (Handlebars) {
Handlebars.registerHelper('defaultImg', function () { Handlebars.registerHelper('defaultImg', function () {
return new Handlebars.SafeString('onerror="this.src="/content/images/poster-dark.jpg";"'); return new Handlebars.SafeString('onerror=this.src=\'/content/images/poster-dark.jpg\';');
}); });
}); });