X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph.js;h=466ce92cd6b6dade2e459f24bc851b33f4097893;hb=0c59a4284a1fe42d254fb07df67d6c01a9577a84;hp=4ab7539e1808520a34ee5da8c9adecdc3524c806;hpb=0565e8fd2bbe4666e66d241f410e7e846e616b55;p=dygraphs.git diff --git a/dygraph.js b/dygraph.js index 4ab7539..466ce92 100644 --- a/dygraph.js +++ b/dygraph.js @@ -1051,7 +1051,7 @@ Dygraph.prototype.resizeElements_ = function() { this.canvas_.height = this.height_; this.canvas_.style.width = this.width_ + "px"; // for IE this.canvas_.style.height = this.height_ + "px"; // for IE -} +}; /** * Detach DOM elements in the dygraph and null out all data references. @@ -1371,7 +1371,7 @@ Dygraph.prototype.createDragInterface_ = function() { context.tarp.uncover(); }; - this.addAndTrackEvent(document, 'mouseup', this.mouseUpHandler); + this.addAndTrackEvent(document, 'mouseup', mouseUpHandler); }; /**