From b7974c2c8509992025c48d199816dbcfa27e704f Mon Sep 17 00:00:00 2001 From: rlauu <46294892+rlauu@users.noreply.github.com> Date: Tue, 31 Dec 2024 08:59:02 +0100 Subject: [PATCH] Update index.js --- src/controllers/playback/video/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/playback/video/index.js b/src/controllers/playback/video/index.js index 7f97ccfab5c..0edb92c070c 100644 --- a/src/controllers/playback/video/index.js +++ b/src/controllers/playback/video/index.js @@ -363,7 +363,7 @@ export default function (view) { toggleSubtitleSync('hide'); // Firefox does not blur by itself - if (osdBottomElement.contains(document.activeElement)) { + if (document.activeElement) { document.activeElement.blur(); } }