From: Robert Konigsberg Date: Thu, 2 Aug 2012 19:35:22 +0000 (-0400) Subject: Fix missing object reference in interaction model. X-Git-Tag: v1.0.0~205^2~1 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=42b3b41f9df17ebdef993224863cbc0d3464acb1;p=dygraphs.git Fix missing object reference in interaction model. --- diff --git a/dygraph-interaction-model.js b/dygraph-interaction-model.js index 6f860c3..5185b3d 100644 --- a/dygraph-interaction-model.js +++ b/dygraph-interaction-model.js @@ -337,7 +337,7 @@ Dygraph.Interaction.endZoom = function(event, g, context) { Math.max(context.dragStartY, context.dragEndY)); context.cancelNextDblclick = true; } else { - if (zoomMoved) g.clearZoomRect_(); + if (context.zoomMoved) g.clearZoomRect_(); } context.dragStartX = null; context.dragStartY = null;