aboutsummaryrefslogtreecommitdiff
path: root/assets/javascript/script.js
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-05-31 05:15:00 +0300
committerValentin Popov <info@valentineus.link>2018-05-31 05:15:00 +0300
commit7812429da22582763f13e0cdc58f8af18fbcb5ce (patch)
treecdf96bd168cb935969c34f24b2d06340dcf0d24a /assets/javascript/script.js
parentd54ee1221abf5a4efcb7147a0c4897956e5f00e3 (diff)
downloadobs-somafm_current_track-7812429da22582763f13e0cdc58f8af18fbcb5ce.tar.xz
obs-somafm_current_track-7812429da22582763f13e0cdc58f8af18fbcb5ce.zip
Change page name
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'assets/javascript/script.js')
-rw-r--r--assets/javascript/script.js1
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;