Refresh the page title

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2018-05-31 07:10:45 +04:00
parent c727048b66
commit 070bf44c47
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 1 additions and 2 deletions

View File

@ -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:

View File

@ -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;