sonarr-repo-only/UI/Handlebars/Helpers/Html.js

11 lines
266 B
JavaScript

'use strict';
define(
[
'handlebars'
], function (Handlebars) {
Handlebars.registerHelper('defaultImg', function () {
return new Handlebars.SafeString('onerror="this.src="/content/images/poster-dark.jpg";"');
});
});