diff options
Diffstat (limited to 'browser/extensions/pictureinpicture/video-wrappers/youtube.js')
-rw-r--r-- | browser/extensions/pictureinpicture/video-wrappers/youtube.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/browser/extensions/pictureinpicture/video-wrappers/youtube.js b/browser/extensions/pictureinpicture/video-wrappers/youtube.js index 8b39e469f9..b704e711cc 100644 --- a/browser/extensions/pictureinpicture/video-wrappers/youtube.js +++ b/browser/extensions/pictureinpicture/video-wrappers/youtube.js @@ -14,7 +14,7 @@ class PictureInPictureVideoWrapper { ? shortsPlayer : video.closest("#movie_player")?.wrappedJSObject; } - isLive(video) { + isLive() { return !!document.querySelector(".ytp-live"); } setMuted(video, shouldMute) { @@ -39,7 +39,7 @@ class PictureInPictureVideoWrapper { if (container) { updateCaptionsFunction(""); - const callback = function (mutationsList, observer) { + const callback = function (mutationsList) { // eslint-disable-next-line no-unused-vars for (const mutation of mutationsList) { let textNodeList = container |