Skip to content

Commit

Permalink
title changes
Browse files Browse the repository at this point in the history
  • Loading branch information
thedmdim committed Mar 31, 2024
1 parent 8ae2ed4 commit 2d172ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/static/js/random.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ function ShowVideo(data) {
const month = String(date.getMonth() + 1).padStart(2, '0'); // Months are zero-based
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}`

let cool = document.getElementById("cool");
let trash = document.getElementById("trash");
Expand Down

0 comments on commit 2d172ae

Please sign in to comment.