Skip to content

Commit

Permalink
fixed issue #45
Browse files Browse the repository at this point in the history
  • Loading branch information
toorshia committed Mar 23, 2013
1 parent 7195c62 commit 98732e9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion justgage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit 98732e9

Please sign in to comment.