From: Marek Janda Date: Sun, 5 Apr 2015 14:02:46 +0000 (+0200) Subject: not needed X-Git-Tag: v2.0.0~59^2 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=9013cfe5414560037b8326c3ed4cf2c735d9fc55;p=dygraphs.git not needed --- diff --git a/src/dygraph-utils.js b/src/dygraph-utils.js index 44ad0cf..d222ec3 100644 --- a/src/dygraph-utils.js +++ b/src/dygraph-utils.js @@ -179,8 +179,8 @@ Dygraph.findPos = function(obj) { d = document.documentElement; return { - x: p.left + (w.pageXOffset || d.scrollLeft) - (d.clientLeft || 0), - y: p.top + (w.pageYOffset || d.scrollTop) - (d.clientTop || 0) + x: p.left + (w.pageXOffset || d.scrollLeft), + y: p.top + (w.pageYOffset || d.scrollTop) } };