From 7812429da22582763f13e0cdc58f8af18fbcb5ce Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 31 May 2018 06:15:00 +0400 Subject: Change page name Signed-off-by: Valentin Popov --- assets/javascript/script.js | 1 + 1 file changed, 1 insertion(+) (limited to 'assets/javascript/script.js') 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; -- cgit v1.2.3