diff --git a/js&css/extension/www.youtube.com/general/general.js b/js&css/extension/www.youtube.com/general/general.js index 561d1caba..a6a06d4b6 100644 --- a/js&css/extension/www.youtube.com/general/general.js +++ b/js&css/extension/www.youtube.com/general/general.js @@ -517,7 +517,7 @@ extension.features.thumbnailsQuality = function (anything) { --------------------------------------------------------------*/ extension.features.disableThumbnailPlayback = function (event) { if (event instanceof Event) { - if (event.composedPath().find(elem => (elem.matches != null && elem.matches('#content.ytd-rich-item-renderer, #contents.ytd-item-section-renderer')) + if (event.composedPath().some(elem => (elem.matches != null && elem.matches('#content.ytd-rich-item-renderer, #contents.ytd-item-section-renderer')) )) { event.stopImmediatePropagation(); }