removing html5 audio
This commit is contained in:
@@ -285,7 +285,10 @@ function renderCoverflow() {
|
||||
item.className = 'coverflow-item';
|
||||
item.dataset.idx = String(idx);
|
||||
|
||||
const logoUrl = s.logo || (s.raw && (s.raw.logo || s.raw.poster)) || '';
|
||||
const rawLogoUrl = s.logo || (s.raw && (s.raw.logo || s.raw.poster)) || '';
|
||||
const logoUrl = rawLogoUrl && rawLogoUrl.startsWith('http://')
|
||||
? ('https://' + rawLogoUrl.slice('http://'.length))
|
||||
: rawLogoUrl;
|
||||
if (logoUrl) {
|
||||
const img = document.createElement('img');
|
||||
img.alt = `${s.name} logo`;
|
||||
|
||||
Reference in New Issue
Block a user