mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
11 lines
266 B
JavaScript
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\';');
|
|
});
|
|
});
|