|
|
@ -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\';');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|