From e1af65f45fb177803e32b59e03b2ce8be6b8d151 Mon Sep 17 00:00:00 2001 From: Rasz_pl Date: Sun, 3 Mar 2024 03:39:16 +0100 Subject: [PATCH] Update functions.js --- js&css/web-accessible/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js&css/web-accessible/functions.js b/js&css/web-accessible/functions.js index ed32975eb..e3b30fefb 100644 --- a/js&css/web-accessible/functions.js +++ b/js&css/web-accessible/functions.js @@ -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();