Added lossless tag to search
This commit is contained in:
parent
d96014c24d
commit
f35b074543
1 changed files with 6 additions and 6 deletions
|
|
@ -198,12 +198,12 @@ async function searchSongs(searchTerm){
|
|||
newItem.appendChild(head3);
|
||||
newItem.appendChild(head4);
|
||||
// I like this concept but i'm leaving it out for now
|
||||
// if(currentSongInJSON.lossless === 1) {
|
||||
// let losslesstag = document.createElement("p");
|
||||
// losslesstag.textContent = "Ⓛ";
|
||||
// losslesstag.classList.add("lossless-tag");
|
||||
// newItem.appendChild(losslesstag);
|
||||
// }
|
||||
if(currentSongInJSON.lossless === 1) {
|
||||
let losslesstag = document.createElement("p");
|
||||
losslesstag.textContent = "Ⓛ";
|
||||
losslesstag.classList.add("lossless-tag");
|
||||
newItem.appendChild(losslesstag);
|
||||
}
|
||||
document.getElementById("songlist").appendChild(newItem);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue