From: Robert Konigsberg Date: Thu, 2 Jun 2011 20:26:38 +0000 (-0400) Subject: Removing context from clickCallback because the data I care about can be X-Git-Tag: v1.0.0~463^2~1^2 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=8d5846b984ab228985736906afe99735911fb74a;p=dygraphs.git Removing context from clickCallback because the data I care about can be read from e.offset{X,Y}. --- 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_); } };