Skip to content

Commit

Permalink
Don't do IE only fixes on other browsers
Browse files Browse the repository at this point in the history
Reference #699
  • Loading branch information
Rycochet committed Oct 29, 2016
1 parent 609f129 commit ae37b64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion velocity.js
Original file line number Diff line number Diff line change
Expand Up @@ -3771,7 +3771,7 @@
/* Note: To solve an IE<=8 positioning bug, the unit type is dropped when setting a property value of 0. */
var adjustedSetData = CSS.setPropertyValue(element, /* SET */
property,
tween.currentValue + (parseFloat(currentValue) === 0 ? "" : tween.unitType),
tween.currentValue + (IE < 9 && parseFloat(currentValue) === 0 ? "" : tween.unitType),
tween.rootPropertyValue,
tween.scrollData);

Expand Down
Loading

0 comments on commit ae37b64

Please sign in to comment.