diff options
Diffstat (limited to 'browser/extensions/pictureinpicture/video-wrappers/nytimes.js')
-rw-r--r-- | browser/extensions/pictureinpicture/video-wrappers/nytimes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/extensions/pictureinpicture/video-wrappers/nytimes.js b/browser/extensions/pictureinpicture/video-wrappers/nytimes.js index 4f6d8cbe44..8e3e6b0985 100644 --- a/browser/extensions/pictureinpicture/video-wrappers/nytimes.js +++ b/browser/extensions/pictureinpicture/video-wrappers/nytimes.js @@ -10,7 +10,7 @@ class PictureInPictureVideoWrapper { if (container) { updateCaptionsFunction(""); - const callback = function (mutationsList, observer) { + const callback = function () { let text = container.querySelector(".cueWrap-2P4Ue4VQ")?.innerText; if (!text) { updateCaptionsFunction(""); |