Permalink
Browse files

Demos: Changed to the correct support test for transform 3D transitions.

  • Loading branch information...
jaspermdegroot committed Dec 18, 2012
1 parent 1ad3001 commit c955af6813dfc6b7aff2cbd9a57c15408b4cc6cd
Showing with 1 addition and 2 deletions.
  1. +1 −2 docs/demos/swipe/swipe-list.html
@@ -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 );
});

0 comments on commit c955af6

Please sign in to comment.