X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph.js;h=6bdb1433bea3233da61508d146a0af0e1351f979;hb=c0cef1fa7418206e16229e4ae201af16c3dc8305;hp=7beeb072c22c944e6ad8fecc06fc92a3c9284007;hpb=60a190147b0850b5f9fe2da7b54e43ef5d0e366a;p=dygraphs.git diff --git a/dygraph.js b/dygraph.js index 7beeb07..6bdb143 100644 --- a/dygraph.js +++ b/dygraph.js @@ -1411,10 +1411,6 @@ Dygraph.prototype.mouseMove_ = function(event) { idx = i; } if (idx >= 0) lastx = points[idx].xval; - // Check that you can really highlight the last day's data - var last = points[points.length-1]; - if (last != null && canvasx > last.canvasx) - lastx = points[points.length-1].xval; // Extract the points we've selected this.selPoints_ = [];