Skip to content

Commit

Permalink
Merge pull request thebird#245 from MajorLeagueBaseball/ie9-transitio…
Browse files Browse the repository at this point in the history
…n-fix

Fix for transitions in IE9
  • Loading branch information
thebird committed Mar 25, 2013
2 parents 7f99b8b + e907efc commit b0f8e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function Swipe(container, options) {
addEventListener: !!window.addEventListener,
touch: ('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch,
transitions: (function(temp) {
var props = ['transformProperty', 'WebkitTransform', 'MozTransform', 'OTransform', 'msTransform'];
var props = ['transitionProperty', 'WebkitTransition', 'MozTransition', 'OTransition', 'msTransition'];
for ( var i in props ) if (temp.style[ props[i] ] !== undefined) return true;
return false;
})(document.createElement('swipe'))
Expand Down

0 comments on commit b0f8e38

Please sign in to comment.