Merge branch 'master' of http://github.com/kberg/dygraphs
[dygraphs.git] / dygraph.js
index 0dba534..e28c273 100644 (file)
@@ -1086,7 +1086,6 @@ Dygraph.prototype.doZoomXDates_ = function(minDate, maxDate) {
   this.dateWindow_ = [minDate, maxDate];
   this.drawGraph_();
   if (this.attr_("zoomCallback")) {
-    var yRange = this.yAxisRange();
     this.attr_("zoomCallback")(minDate, maxDate, this.yAxisRanges());
   }
 };