From 9013cfe5414560037b8326c3ed4cf2c735d9fc55 Mon Sep 17 00:00:00 2001 From: Marek Janda Date: Sun, 5 Apr 2015 16:02:46 +0200 Subject: [PATCH] not needed --- src/dygraph-utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) } }; -- 2.7.4