Skip to content

Commit

Permalink
Updated transform3d for chrome for transit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Burkett committed Jul 23, 2014
1 parent 81862be commit 00a7b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.transit.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
// forcing Chrome to not use the 3d transforms as well. Not sure if
// translate is affectede, but not risking it. Detection code from
// http://davidwalsh.name/detecting-google-chrome-javascript
if (support.transform === 'WebkitTransform' && (!isChrome || $.transit.use3dChrome)) {
if (support.transform === 'WebkitTransform' || $.transit.use3dChrome) {
elem.style[support.transform] = value.toString(true);
} else {
elem.style[support.transform] = value.toString();
Expand Down

0 comments on commit 00a7b59

Please sign in to comment.