Lidarr/UI/Handlebars/Helpers/Html.js

11 lines
266 B
JavaScript
Raw Normal View History

2013-06-25 04:43:16 +00:00
'use strict';
define(
[
'handlebars'
], function (Handlebars) {
Handlebars.registerHelper('defaultImg', function () {
return new Handlebars.SafeString('onerror=this.src=\'/Content/Images/poster-dark.jpg\';');
2013-06-25 04:43:16 +00:00
});
});