diff --git a/src/js/control-bar/audio-track-controls/audio-track-menu-item.js b/src/js/control-bar/audio-track-controls/audio-track-menu-item.js index b97f44a22f..97ba5e16eb 100644 --- a/src/js/control-bar/audio-track-controls/audio-track-menu-item.js +++ b/src/js/control-bar/audio-track-controls/audio-track-menu-item.js @@ -53,9 +53,7 @@ class AudioTrackMenuItem extends MenuItem { for (let i = 0; i < tracks.length; i++) { const track = tracks[i]; - if (track === this.track) { - track.enabled = true; - } + track.enabled = track === this.track; } }