From ecdb6dffaa8111a807d1595f4051a594de91c613 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Tue, 19 Feb 2013 22:13:56 -0500 Subject: [PATCH] add note about IE8 --- dygraph-utils.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dygraph-utils.js b/dygraph-utils.js index 8c6942b..11a2fba 100644 --- 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"; -- 2.7.4