fixed 404 placeholder image template helper.

pull/3113/head
kay.one 12 years ago
parent 4318b66a6e
commit f8fee8e3d0

@ -5,6 +5,6 @@ define(
'handlebars'
], function (Handlebars) {
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\';');
});
});

Loading…
Cancel
Save