Skip to content

Commit

Permalink
feat(UI): Hide resolution overflow menu button if there's only one ch…
Browse files Browse the repository at this point in the history
…oice (#6004)

Fixes 628bb63
  • Loading branch information
avelad authored Dec 12, 2023
1 parent 8a44111 commit 8649e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/resolution_selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ shaka.ui.ResolutionSelection = class extends shaka.ui.SettingsMenu {

this.updateLocalizedStrings_();

shaka.ui.Utils.setDisplay(this.button, tracks.length > 0);
shaka.ui.Utils.setDisplay(this.button, tracks.length > 1);
}


Expand Down

0 comments on commit 8649e7e

Please sign in to comment.