From: David Eberlein Date: Wed, 12 Jun 2013 16:16:25 +0000 (+0200) Subject: BUGFIX: Added "this." to the boundryIds_ calls X-Git-Tag: v1.0.0~17^2~3 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=3f4b970abdb3141935d2c1098805ce2cee0abb16;p=dygraphs.git BUGFIX: Added "this." to the boundryIds_ calls --- 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) {