From 42b3b41f9df17ebdef993224863cbc0d3464acb1 Mon Sep 17 00:00:00 2001 From: Robert Konigsberg Date: Thu, 2 Aug 2012 15:35:22 -0400 Subject: [PATCH] Fix missing object reference in interaction model. --- dygraph-interaction-model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4