Changes & Applies document title with currently playing music name

This commit is contained in:
Indrajith K L
2022-11-30 03:17:47 +05:30
parent df7a97ed22
commit af7303fc62

View File

@@ -181,6 +181,7 @@
function updateInfo(trackDetails) {
titleEl.innerText = trackDetails.title;
document.title = `Now Playing... ${trackDetails.title}`;
coverArtEl.style.backgroundImage = `url("${retroWaveRu}${trackDetails.artworkUrl}")`;
}