From af7303fc62a7a3cb1c660bca51d4acbc27eaab22 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Wed, 30 Nov 2022 03:17:47 +0530 Subject: Changes & Applies document title with currently playing music name --- player.js | 1 + 1 file changed, 1 insertion(+) diff --git a/player.js b/player.js index e83c3db..d2326d5 100644 --- a/player.js +++ b/player.js @@ -181,6 +181,7 @@ function updateInfo(trackDetails) { titleEl.innerText = trackDetails.title; + document.title = `Now Playing... ${trackDetails.title}`; coverArtEl.style.backgroundImage = `url("${retroWaveRu}${trackDetails.artworkUrl}")`; } -- cgit v1.2.3