Skip to content

Commit

Permalink
Fixed bug where current res doesn't show selected
Browse files Browse the repository at this point in the history
  • Loading branch information
dominic-p committed Jul 31, 2013
1 parent c556a7d commit 244fb8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion video-quality-selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@

// Modify options for parent MenuItem class's init.
options.label = methods.res_label( options.res );
options.selected = ( options.res === player.getCurrentRes() );
options.selected = ( options.res.toString() === player.getCurrentRes().toString() );

// Call the parent constructor
_V_.MenuItem.call( this, player, options );
Expand Down

0 comments on commit 244fb8c

Please sign in to comment.