From 1199c953fd4a2db3227a8ca911ce9950a280a423 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Fri, 23 Dec 2016 17:03:19 -0500 Subject: [PATCH] remove no-op code --- src/dygraph.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/dygraph.js b/src/dygraph.js index e0fcb58..6329130 100644 --- a/src/dygraph.js +++ b/src/dygraph.js @@ -2319,10 +2319,7 @@ Dygraph.prototype.drawGraph_ = function() { this.addXTicks_(); - // Save the X axis zoomed status as the updateOptions call will tend to set it erroneously - var tmp_zoomed_x = this.zoomed_x_; // Tell PlotKit to use this new data and render itself - this.zoomed_x_ = tmp_zoomed_x; this.layout_.evaluate(); this.renderGraph_(is_initial_draw); @@ -3275,7 +3272,7 @@ Dygraph.prototype.visibility = function() { * * @param {number|number[]|object} num the series index or an array of series indices * or a boolean array of visibility states by index - * or an object mapping series numbers, as keys, to + * or an object mapping series numbers, as keys, to * visibility state (boolean values) * @param {boolean} value the visibility state expressed as a boolean */ -- 2.7.4