This commit is contained in:
Araxeus
2021-05-07 23:40:14 +03:00
parent 8b471c0772
commit 1140c3e2e7
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ const getArtist = async (win) => {
artistName.textContent;
}
`
)
);
}
// Fill songInfo with empty values
@ -109,7 +109,7 @@ function cleanupArtistName(artist) {
}
for (const suffix of suffixesToRemove) {
if (artist.endsWith(suffix)) {
return artist.slice(0, -suffix.length)
return artist.slice(0, -suffix.length);
}
}
return artist;