mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
fixed 404 placeholder image template helper.
This commit is contained in:
@@ -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\';');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user