diff options
Diffstat (limited to 'assets/javascript')
-rw-r--r-- | assets/javascript/script.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/assets/javascript/script.js b/assets/javascript/script.js index c955567..78b83e7 100644 --- a/assets/javascript/script.js +++ b/assets/javascript/script.js @@ -34,6 +34,7 @@ function updateData(artistTrack, titleTrack) { if (artistElement.textContent !== artistTrack || titleElement.textContent !== titleTrack) { /* Updates text */ + document.title = artistTrack + ' - ' + titleTrack; artistElement.textContent = artistTrack; titleElement.textContent = titleTrack; |