search by channel

This commit is contained in:
MeexReay 2025-04-24 21:35:49 +03:00
parent dd95b6b5fa
commit ff2ad95aca
3 changed files with 30 additions and 6 deletions

View file

@ -75,6 +75,10 @@
channelNameElement.textContent = video["channel-name"];
descriptionElement.textContent = video["description"];
document.title = video["name"];
document.getElementsByClassName("channel-info")[0].onclick = () => {
document.location.assign("search.html?q="+video["channel-name"])
}
}
function renderSidebar(videosList, currentId) {