Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Demos: Changed to the correct support test for transform 3D transitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspermdegroot committed Dec 18, 2012
1 parent 1ad3001 commit c955af6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/demos/swipe/swipe-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
// These are the classnames used for the CSS transition
dir = event.type === "swipeleft" ? "left" : "right",
// Check if the browser supports the transform (3D) CSS transition
// TO DO: CHANGE INTO "$.mobile.support.cssTransform3d" WHEN THE SUPPORT TEST HAS BEEN FIXED: #5359
transition = $.mobile.support.touch ? dir : false;
transition = $.support.cssTransform3d ? dir : false;

confirmAndDelete( listitem, transition );
});
Expand Down

0 comments on commit c955af6

Please sign in to comment.