Oops, that time for real.
authorRobert Konigsberg <kberg@octocore.home>
Thu, 7 Oct 2010 04:36:00 +0000 (00:36 -0400)
committerRobert Konigsberg <kberg@octocore.home>
Thu, 7 Oct 2010 04:36:00 +0000 (00:36 -0400)
dygraph.js

index 85a46c0..2e7fa0f 100644 (file)
@@ -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();