diff options
author | Indrajith K L | 2022-11-30 03:17:47 +0530 |
---|---|---|
committer | Indrajith K L | 2022-11-30 03:17:47 +0530 |
commit | af7303fc62a7a3cb1c660bca51d4acbc27eaab22 (patch) | |
tree | c7f5754af5ab12eed8d50786eeb1565a683761a1 /player.js | |
parent | df7a97ed22f6eb043ff985e96645b09d2c9a4ab0 (diff) | |
download | retrowave-player-af7303fc62a7a3cb1c660bca51d4acbc27eaab22.tar.gz retrowave-player-af7303fc62a7a3cb1c660bca51d4acbc27eaab22.tar.bz2 retrowave-player-af7303fc62a7a3cb1c660bca51d4acbc27eaab22.zip |
Changes & Applies document title with currently playing music name
Diffstat (limited to 'player.js')
-rw-r--r-- | player.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -181,6 +181,7 @@ function updateInfo(trackDetails) { titleEl.innerText = trackDetails.title; + document.title = `Now Playing... ${trackDetails.title}`; coverArtEl.style.backgroundImage = `url("${retroWaveRu}${trackDetails.artworkUrl}")`; } |