Permalink
Browse files

Merge branch 'master' of git@github.com:noctambules/jquerymobile-caro…

…usel.git
  • Loading branch information...
2 parents 2c2c56e + 9307270 commit ac67bed0f73bcab2e0a26adcda83f650ac9604d0 @andypa committed Jul 15, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 js/jquery.mobile.carousel.js
@@ -34,6 +34,9 @@
}
if($(el).css('-moz-transform') || $(el).css('-webkit-transform') || $(el).css('-o-transform') || $(el).css('transform')) {
$(el).css('-webkit-transform', 'translate(-'+translate+'px,0)');
+ $(el).css('-moz-transform', 'translate(-'+translate+'px,0)');
+ $(el).css('-o-transform', 'translate(-'+translate+'px,0)');
+ $(el).css('transform', 'translate(-'+translate+'px,0)');
} else {
$(el).animate({marginLeft: -translate});
}
@@ -50,6 +53,10 @@
if($(el).css('-moz-transform') || $(el).css('-webkit-transform') || $(el).css('-o-transform') || $(el).css('transform')) {
$(el).css('-webkit-transform', 'translate('+translate+'px,0)');
+ $(el).css('-moz-transform', 'translate('+translate+'px,0)');
+ $(el).css('-o-transform', 'translate('+translate+'px,0)');
+ $(el).css('-webkit-transform', 'translate('+translate+'px,0)');
+ $(el).css('transform', 'translate('+translate+'px,0)');
} else {
$(el).animate({marginLeft: translate});
}

0 comments on commit ac67bed

Please sign in to comment.