Permalink
Browse files

Fix for #28

Deletion of the space in "unit" initialisation => causes a bug in IE
  • Loading branch information...
1 parent 57c3241 commit a139a72e07046847341ebfd0ec3ba9e1ac994281 @Clorr committed May 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery.transform2d.js
View
@@ -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 +","+

0 comments on commit a139a72

Please sign in to comment.