1
0
mirror of https://github.com/videojs/video.js.git synced 2025-03-17 21:18:27 +02:00

fix(playback rate menu): playback rate menu items should be selectable (#4149)

This commit is contained in:
Gary Katsevman 2017-03-02 14:55:36 -05:00 committed by GitHub
parent 5265624410
commit a9f8fcb2a2

View File

@ -27,6 +27,8 @@ class PlaybackRateMenuItem extends MenuItem {
// Modify options for parent MenuItem class's init.
options.label = label;
options.selected = rate === 1;
options.selectable = true;
super(player, options);
this.label = label;