diff --git a/lib/videojs-resolution-switcher.js b/lib/videojs-resolution-switcher.js index 0f281e3..f9ed46a 100644 --- a/lib/videojs-resolution-switcher.js +++ b/lib/videojs-resolution-switcher.js @@ -37,8 +37,6 @@ ResolutionMenuItem.prototype.handleClick = function(event){ MenuItem.prototype.handleClick.call(this, event); this.player_.currentResolution(this.options_.label); - // this.player_.updateSrc(this.player_.options_.sources) - // MenuButton.prototype.update.call(this); }; ResolutionMenuItem.prototype.update = function(){ var selection = (this.player_ && this.player_.currentResolution() ) ? this.player_.currentResolution() : null ;