From 8d5846b984ab228985736906afe99735911fb74a Mon Sep 17 00:00:00 2001 From: Robert Konigsberg Date: Thu, 2 Jun 2011 16:26:38 -0400 Subject: [PATCH] Removing context from clickCallback because the data I care about can be read from e.offset{X,Y}. --- dygraph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dygraph.js b/dygraph.js index 1529a33..daf1086 100644 --- a/dygraph.js +++ b/dygraph.js @@ -1360,7 +1360,7 @@ Dygraph.Interaction.treatMouseOpAsClick = function(g, event, context) { // TODO(danvk): pass along more info about the points, e.g. 'x' if (clickCallback) { - clickCallback(event, g.lastx_, g.selPoints_, context); + clickCallback(event, g.lastx_, g.selPoints_); } }; -- 2.7.4