From 3f4b970abdb3141935d2c1098805ce2cee0abb16 Mon Sep 17 00:00:00 2001 From: David Eberlein Date: Wed, 12 Jun 2013 18:16:25 +0200 Subject: [PATCH] BUGFIX: Added "this." to the boundryIds_ calls --- dygraph.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dygraph.js b/dygraph.js index d771e18..8764430 100644 --- a/dygraph.js +++ b/dygraph.js @@ -1862,8 +1862,8 @@ Dygraph.prototype.mouseMove_ = function(event) { * @private */ Dygraph.prototype.getLeftBoundary_ = function(setIdx) { - if(!isNaN(setIdx) && setIdx < boundaryIds_.length){ - return boundaryIds_[setIdx][0]; + if(!isNaN(setIdx) && setIdx < this.boundaryIds_.length){ + return this.boundaryIds_[setIdx][0]; } else { for (var i = 0; i < this.boundaryIds_.length; i++) { if (this.boundaryIds_[i] !== undefined) { -- 2.7.4