Skip to content

Commit

Permalink
Update functions.js
Browse files Browse the repository at this point in the history
  • Loading branch information
raszpl authored Mar 3, 2024
1 parent 3265c26 commit e1af65f
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 e1af65f

Please sign in to comment.