Skip to content

Commit

Permalink
Merge pull request #2182 from dodieboy/fix
Browse files Browse the repository at this point in the history
Quick fix
  • Loading branch information
ImprovedTube authored Apr 14, 2024
2 parents bdacf0d + 8c8ce95 commit 86fb775
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js&css/web-accessible/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ ImprovedTube.ytElementsHandler = function (node) {
this.howLongAgoTheVideoWasUploaded();
this.channelVideosCount();
}
}
}
// else if (name === 'YTD-MENU-RENDERER' && node.classList.contains('ytd-video-primary-info-renderer')) {
// if (document.documentElement.dataset.pageType === 'video') {
// 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'))) {
else if (name === 'YTD-PLAYLIST-HEADER-RENDERER' || (name === 'YTD-MENU-RENDERER' && node.classList.contains('ytd-playlist-panel-renderer'))) {
this.playlistPopupUpdate();
} else if (name === 'YTD-SUBSCRIBE-BUTTON-RENDERER') {
if (node.className.indexOf('ytd-c4-tabbed-header-renderer') !== -1) {
Expand Down

0 comments on commit 86fb775

Please sign in to comment.