From: Robert Konigsberg Date: Thu, 7 Oct 2010 04:36:00 +0000 (-0400) Subject: Oops, that time for real. X-Git-Tag: v1.0.0~613^2~13 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=80e65593d67696bafc8c3f057828f2d7e61468fc;p=dygraphs.git Oops, that time for real. --- diff --git a/dygraph.js b/dygraph.js index 85a46c0..2e7fa0f 100644 --- a/dygraph.js +++ b/dygraph.js @@ -826,7 +826,7 @@ Dygraph.prototype.createDragInterface_ = function() { if (event.altKey || event.shiftKey) { // have to be zoomed in to pan. - if (!self.dateWindow_ && !self.valueWindow_) return; + if (!self.dateWindow_ && !self.valueRange_) return; isPanning = true; var xRange = self.xAxisRange();