From f35b074543b8df476e9e0ea14f7a300fedf168fe Mon Sep 17 00:00:00 2001 From: Kristy Fournier <124598538+kristy-fournier@users.noreply.github.com> Date: Wed, 4 Mar 2026 14:28:12 -0500 Subject: [PATCH] Added lossless tag to search --- Client/scripts.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Client/scripts.js b/Client/scripts.js index a330653..cd7cb03 100644 --- a/Client/scripts.js +++ b/Client/scripts.js @@ -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); }