Skip to content

Commit

Permalink
Merge pull request #2059 from raszpl/master
Browse files Browse the repository at this point in the history
functions.js node.$['flexible-item-buttons'].children issues/2058
  • Loading branch information
ImprovedTube authored Mar 4, 2024
2 parents 3265c26 + e1af65f commit b412f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js&css/web-accessible/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ ImprovedTube.ytElementsHandler = function (node) {
}
} else if (name === 'YTD-MENU-RENDERER' && node.classList.contains('ytd-video-primary-info-renderer')) {
if(document.documentElement.dataset.pageType === 'video'){
this.hideDetailButton(node.$['flexible-item-buttons'].children);
this.hideDetailButton(node.querySelector('#flexible-item-buttons').children);
}
} else if (name === 'YTD-PLAYLIST-HEADER-RENDERER' || (name === 'YTD-MENU-RENDERER' && node.classList.contains('ytd-playlist-panel-renderer'))) {
this.playlistPopupUpdate();
Expand Down

0 comments on commit b412f2d

Please sign in to comment.