mirror of
https://github.com/Radarr/Radarr
synced 2024-12-30 11:55:18 +00:00
10 lines
266 B
JavaScript
10 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\';');
|
|
});
|
|
});
|