From: Dan Vanderkam Date: Wed, 20 Feb 2013 03:13:56 +0000 (-0500) Subject: add note about IE8 X-Git-Tag: v1.0.0~53^2~1 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=ecdb6dffaa8111a807d1595f4051a594de91c613;p=dygraphs.git add note about IE8 --- 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";