Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rlauuzo committed Dec 31, 2024
1 parent dcde7c3 commit b7974c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/playback/video/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit b7974c2

Please sign in to comment.