From 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:33 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- browser/extensions/pictureinpicture/video-wrappers/washingtonpost.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'browser/extensions/pictureinpicture/video-wrappers/washingtonpost.js') diff --git a/browser/extensions/pictureinpicture/video-wrappers/washingtonpost.js b/browser/extensions/pictureinpicture/video-wrappers/washingtonpost.js index 6d0e57c96a..340306328c 100644 --- a/browser/extensions/pictureinpicture/video-wrappers/washingtonpost.js +++ b/browser/extensions/pictureinpicture/video-wrappers/washingtonpost.js @@ -10,7 +10,7 @@ class PictureInPictureVideoWrapper { if (container) { updateCaptionsFunction(""); - const callback = function (mutationsList, observer) { + const callback = function () { let subtitleElement = container.querySelector(".powa-sub-torpedo"); if (!subtitleElement?.innerText) { updateCaptionsFunction(""); -- cgit v1.2.3