X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph.js;h=c867c665d4edada601589c810c7dae6c95031146;hb=e4f6e11a1dd2abbfc1321863aa13d9e540d8c253;hp=a97dafe61de14aef821558c4cc9368a1de0afaa1;hpb=e70e19abc363a5c8042452a082acc514f970b40c;p=dygraphs.git diff --git a/dygraph.js b/dygraph.js index a97dafe..c867c66 100644 --- a/dygraph.js +++ b/dygraph.js @@ -1463,7 +1463,7 @@ Dygraph.prototype.doZoomY_ = function(lowY, highY) { * Reset the zoom to the original view coordinates. This is the same as * double-clicking on the graph. */ -Dygraph.prototype.restoreZoom = function() { +Dygraph.prototype.resetZoom = function() { var dirty = false, dirtyX = false, dirtyY = false; if (this.dateWindow_ !== null) { dirty = true;