added code watch page subscribe button

This commit is contained in:
gautamkrishnar 2023-11-01 15:19:12 +05:30
parent e917e7c0df
commit a85b0845ed
No known key found for this signature in database
GPG Key ID: 01CA65AC375CAA65
1 changed files with 1 additions and 2 deletions

View File

@ -146,8 +146,7 @@ function ensureTALinks() {
// fix positioning of #owner div to fit new button
function adjustOwner(channelContainer) {
channelContainer = channelContainer.querySelector("#buttons");
return channelContainer;
return channelContainer.querySelector("#buttons") || channelContainer;
}
function buildChannelButton(channelContainer) {