Skip to content

Commit

Permalink
UsingNativeControls doesn't need to call 'addTechControlsListener at all
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatsev committed Aug 24, 2015
1 parent 60c6038 commit b80e2b8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/js/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -1942,7 +1942,6 @@ class Player extends Component {
if (this.usingNativeControls_ !== bool) {
this.usingNativeControls_ = bool;
if (bool) {
this.removeTechControlsListeners();
this.addClass('vjs-using-native-controls');

/**
Expand All @@ -1955,7 +1954,6 @@ class Player extends Component {
*/
this.trigger('usingnativecontrols');
} else {
this.addTechControlsListeners();
this.removeClass('vjs-using-native-controls');

/**
Expand Down

0 comments on commit b80e2b8

Please sign in to comment.