projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ff8c62
)
add note about IE8
author
Dan Vanderkam
<danvdk@gmail.com>
Wed, 20 Feb 2013 03:13:56 +0000
(22:13 -0500)
committer
Dan Vanderkam
<danvdk@gmail.com>
Wed, 20 Feb 2013 03:13:56 +0000
(22:13 -0500)
dygraph-utils.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-utils.js
b/dygraph-utils.js
index
8c6942b
..
11a2fba
100644
(file)
--- a/
dygraph-utils.js
+++ b/
dygraph-utils.js
@@
-301,6
+301,7
@@
Dygraph.findPosX = function(obj) {
if(obj.offsetParent) {
var copyObj = obj;
while(1) {
+ // NOTE: the if statement here is for IE8.
var borderLeft = "0";
if (window.getComputedStyle) {
borderLeft = window.getComputedStyle(copyObj, null).borderLeft || "0";
@@
-337,6
+338,7
@@
Dygraph.findPosY = function(obj) {
if(obj.offsetParent) {
var copyObj = obj;
while(1) {
+ // NOTE: the if statement here is for IE8.
var borderTop = "0";
if (window.getComputedStyle) {
borderTop = window.getComputedStyle(copyObj, null).borderTop || "0";