Skip to content

Commit

Permalink
Fix for #28
Browse files Browse the repository at this point in the history
Deletion of the space in "unit" initialisation => causes a bug in IE
  • Loading branch information
Clorr committed May 7, 2012
1 parent 57c3241 commit a139a72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.transform2d.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ $.fx.step.transform = function( fx ) {
case _translate:
unit = "px";
case _scale:
unit || ( unit = " ");
unit || ( unit = "");

transform = startVal[0] + "(" +
Math.round( (startVal[1][0] + (endVal[1][0] - startVal[1][0]) * pos) * precision ) / precision + unit +","+
Expand Down

0 comments on commit a139a72

Please sign in to comment.