search by channel
This commit is contained in:
parent
dd95b6b5fa
commit
ff2ad95aca
3 changed files with 30 additions and 6 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue