From 98732e94a36c572109536ca1d49564e7a5b06e10 Mon Sep 17 00:00:00 2001 From: Bojan Djuricic Date: Sat, 23 Mar 2013 15:27:29 +0100 Subject: [PATCH] fixed issue #45 --- justgage.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/justgage.js b/justgage.js index 2ac43e4..24c9952 100644 --- a/justgage.js +++ b/justgage.js @@ -10,6 +10,7 @@ * March 23, 2013. * ----------------------------- * counter - option to animate value in counting fashion + * fix - https://github.com/toorshia/justgage/issues/45 * ----------------------------- * March 13, 2013. @@ -765,7 +766,9 @@ function getColorForPercentage(pct, col, noGradient) { /** Fix Raphael display:none tspan dy attribute bug */ function setDy(elem, fontSize, txtYpos) { - elem.node.firstChild.attributes.dy.value = 0; + if (!ie || ie > 9) { + elem.node.firstChild.attributes.dy.value = 0; + } } /** Random integer */