|
|
@ -49,7 +49,7 @@ const defaultFontSize = parseInt(fonts.defaultFontSize);
|
|
|
|
const lineHeight = parseFloat(fonts.lineHeight);
|
|
|
|
const lineHeight = parseFloat(fonts.lineHeight);
|
|
|
|
|
|
|
|
|
|
|
|
function getFanartUrl(images) {
|
|
|
|
function getFanartUrl(images) {
|
|
|
|
const fanartImage = images.find({ coverType: 'fanart' });
|
|
|
|
const fanartImage = images.find((i) => i.coverType === 'fanart');
|
|
|
|
if (fanartImage) {
|
|
|
|
if (fanartImage) {
|
|
|
|
// Remove protocol
|
|
|
|
// Remove protocol
|
|
|
|
return fanartImage.url.replace(/^https?:/, '');
|
|
|
|
return fanartImage.url.replace(/^https?:/, '');
|
|
|
|