From c1105b5f6c123807665f2dc342b981a6de145158 Mon Sep 17 00:00:00 2001 From: 7Ds7 <7Ds7@users.noreply.github.com> Date: Tue, 18 Feb 2020 19:02:02 +0100 Subject: [PATCH] Removed commented lines --- lib/videojs-resolution-switcher.js | 2 -- 1 file changed, 2 deletions(-) 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 ;