aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-05-31 06:10:45 +0300
committerValentin Popov <info@valentineus.link>2018-05-31 06:10:45 +0300
commit070bf44c47547729d8a1f975dcb3f52a865b7588 (patch)
tree922cc226211099fee532fb02ab0d9db24e1b0c57
parentc727048b66b655c69c7f7c3a9a21b3ef61aeabd0 (diff)
downloadobs-somafm_current_track-070bf44c47547729d8a1f975dcb3f52a865b7588.tar.xz
obs-somafm_current_track-070bf44c47547729d8a1f975dcb3f52a865b7588.zip
Refresh the page title
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--_config.yml2
-rw-r--r--assets/javascript/script.js1
2 files changed, 1 insertions, 2 deletions
diff --git a/_config.yml b/_config.yml
index 8d369ab..7dea14a 100644
--- a/_config.yml
+++ b/_config.yml
@@ -25,7 +25,7 @@ baseurl: "/obs-somafm-current-track"
# Site description
description: "Page displays a popup window with the current playing track SomaFM radio."
-title: "Current track SomaFM"
+title: "Current track of the radio SomaFM"
# Exceptions
exclude:
diff --git a/assets/javascript/script.js b/assets/javascript/script.js
index 6eaf1a6..1055a3e 100644
--- a/assets/javascript/script.js
+++ b/assets/javascript/script.js
@@ -34,7 +34,6 @@ function updateData(artistTrack, titleTrack) {
if (artistElement.textContent !== artistTrack || titleElement.textContent !== titleTrack) {
/* Updates text */
- document.title = artistTrack + ' - ' + titleTrack;
artistElement.textContent = artistTrack;
titleElement.textContent = titleTrack;