summaryrefslogtreecommitdiffstats
path: root/browser/extensions/pictureinpicture/video-wrappers/videojsWrapper.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/extensions/pictureinpicture/video-wrappers/videojsWrapper.js')
-rw-r--r--browser/extensions/pictureinpicture/video-wrappers/videojsWrapper.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/extensions/pictureinpicture/video-wrappers/videojsWrapper.js b/browser/extensions/pictureinpicture/video-wrappers/videojsWrapper.js
index ca3145af4a..2e94c58f4e 100644
--- a/browser/extensions/pictureinpicture/video-wrappers/videojsWrapper.js
+++ b/browser/extensions/pictureinpicture/video-wrappers/videojsWrapper.js
@@ -11,7 +11,7 @@ class PictureInPictureVideoWrapper {
if (container) {
updateCaptionsFunction("");
- const callback = function (mutationsList, observer) {
+ const callback = function () {
let text = container.querySelector("div").innerText;
if (!text) {
updateCaptionsFunction("");