From d93acfcf7a3ac76ad8af5c3d7c0c31c1794f9aca Mon Sep 17 00:00:00 2001 From: Gary Katsevman Date: Wed, 7 Oct 2020 16:33:52 -0400 Subject: [PATCH] clear out the display if we turn off all the tracks --- src/js/tracks/text-track-display.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/tracks/text-track-display.js b/src/js/tracks/text-track-display.js index 4dd7f3090..0f6d094d9 100644 --- a/src/js/tracks/text-track-display.js +++ b/src/js/tracks/text-track-display.js @@ -290,6 +290,8 @@ class TextTrackDisplay extends Component { this.setAttribute('aria-live', 'assertive'); } this.updateForTrack(descriptionsTrack); + } else { + this.clearDisplay(); } }