summaryrefslogtreecommitdiffstats
path: root/browser/extensions/pictureinpicture/video-wrappers/disneyplus.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/extensions/pictureinpicture/video-wrappers/disneyplus.js')
-rw-r--r--browser/extensions/pictureinpicture/video-wrappers/disneyplus.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/extensions/pictureinpicture/video-wrappers/disneyplus.js b/browser/extensions/pictureinpicture/video-wrappers/disneyplus.js
index bb5c55e0cb..a15bda727a 100644
--- a/browser/extensions/pictureinpicture/video-wrappers/disneyplus.js
+++ b/browser/extensions/pictureinpicture/video-wrappers/disneyplus.js
@@ -41,7 +41,7 @@ class PictureInPictureVideoWrapper {
container = document.querySelector(".shaka-text-container");
if (container) {
updateCaptionsFunction("");
- const callback = function (mutationsList, observer) {
+ const callback = function () {
let textNodeList = container?.querySelectorAll("span");
if (!textNodeList) {
updateCaptionsFunction("");