Only push album cover if more than one tracks are being shown for an album.
This commit is contained in:
parent
5290f81d8c
commit
7d680fe252
@ -343,10 +343,10 @@ function resultsToTables(results, target, uri) {
|
|||||||
}
|
}
|
||||||
newalbum = [];
|
newalbum = [];
|
||||||
newtlids = [];
|
newtlids = [];
|
||||||
|
if (results[i].album) {
|
||||||
|
coversList.push([results[i].uri, i]);
|
||||||
|
}
|
||||||
} //newalbum length
|
} //newalbum length
|
||||||
if (results[i].album) {
|
|
||||||
coversList.push([results[i].uri, i]);
|
|
||||||
}
|
|
||||||
} //albums name
|
} //albums name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user