projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7a1dc2
)
lint
kill-code
author
Dan Vanderkam
<danvdk@gmail.com>
Fri, 18 Oct 2013 02:26:58 +0000
(22:26 -0400)
committer
Dan Vanderkam
<danvdk@gmail.com>
Fri, 18 Oct 2013 02:26:58 +0000
(22:26 -0400)
dygraph.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph.js
b/dygraph.js
index
456a56c
..
c3efffc
100644
(file)
--- a/
dygraph.js
+++ b/
dygraph.js
@@
-1735,7
+1735,7
@@
Dygraph.prototype.eventToDomCoords = function(event) {
if (event.offsetX && event.offsetY) {
return [ event.offsetX, event.offsetY ];
} else {
- var eventElementPos = Dygraph.findPos(this.mouseEventElement_)
+ var eventElementPos = Dygraph.findPos(this.mouseEventElement_)
;
var canvasx = Dygraph.pageX(event) - eventElementPos.x;
var canvasy = Dygraph.pageY(event) - eventElementPos.y;
return [canvasx, canvasy];