diff --git a/web/static/js/random.js b/web/static/js/random.js index 2350695..344218f 100644 --- a/web/static/js/random.js +++ b/web/static/js/random.js @@ -92,7 +92,7 @@ function ShowVideo(data) { const year = date.getFullYear(); document.getElementById("video-info").textContent = `${day}.${month}.${year} | ${data.video.views} views` - document.getElementsByTagName("title")[0].textContent = `ytstalker | ${data.video.views} - ${year}` + document.getElementsByTagName("title")[0].textContent = `ytstalker | ${data.video.title} - ${year}` let cool = document.getElementById("cool"); let trash = document.getElementById("trash");