mirror of
https://github.com/lidarr/Lidarr
synced 2025-01-31 19:32:51 +00:00
fixed 404 placeholder image template helper.
This commit is contained in:
parent
4318b66a6e
commit
f8fee8e3d0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue