Skip to content

Commit

Permalink
MenuButtons already get updated on init
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatsev committed Aug 19, 2015
1 parent 91d71c0 commit e585c5c
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class TextTrackButton extends MenuButton {
constructor(player, options){
super(player, options);

this.update();
let tracks = this.player_.textTracks();

if (this.items.length <= 1) {
Expand Down

0 comments on commit e585c5c

Please sign in to comment.