projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4debe18
)
not needed
author
Marek Janda
<nyx@nyx.cz>
Sun, 5 Apr 2015 14:02:46 +0000
(16:02 +0200)
committer
Marek Janda
<nyx@nyx.cz>
Sun, 5 Apr 2015 14:02:46 +0000
(16:02 +0200)
src/dygraph-utils.js
patch
|
blob
|
blame
|
history
diff --git
a/src/dygraph-utils.js
b/src/dygraph-utils.js
index
44ad0cf
..
d222ec3
100644
(file)
--- 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)
}
};