From 7c2a64e22dc4a3464d503f480066283085389d5b Mon Sep 17 00:00:00 2001 From: cvillasenor Date: Wed, 14 Aug 2024 12:51:34 -0600 Subject: [PATCH] fix: update condition for update textTrackDisplay styles --- src/js/tracks/text-track-display.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/tracks/text-track-display.js b/src/js/tracks/text-track-display.js index 9141340d28..385c9752f8 100644 --- a/src/js/tracks/text-track-display.js +++ b/src/js/tracks/text-track-display.js @@ -320,7 +320,7 @@ class TextTrackDisplay extends Component { this.updateForTrack(descriptionsTrack); } - if (window.CSS.supports('inset', '10px')) { + if (!window.CSS.supports('inset', '10px')) { const textTrackDisplay = this.el_; const vjsTextTrackCues = textTrackDisplay.querySelectorAll('.vjs-text-track-cue');