diff --git a/README b/README index e644da8..2ebf467 100644 --- a/README +++ b/README @@ -1,6 +1,6 @@ You must use the jquery.ui.ipad.js plugin in order for jQuery UI widgets to recognize mobile touch events as click events. -Demo: http://jsfiddle.net/blackdynamo/yxhzU/ +Demo: http://jsfiddle.net/arzynik/jvf7w/1/ Available options: diff --git a/jquery.mobile.carousel.js b/jquery.mobile.carousel.js index 49a4dd8..a1c9e03 100644 --- a/jquery.mobile.carousel.js +++ b/jquery.mobile.carousel.js @@ -99,6 +99,7 @@ return width - dragDelta(); } + arguments[1].currentPage = currentPage; settings.afterStop.apply(list, arguments); } }); @@ -160,6 +161,7 @@ return height - dragDelta(); } + arguments[1].currentPage = currentPage; settings.afterStop.apply(list, arguments); } });