changed automated swiperight binding to ui-page instead of body.

This commit is contained in:
scottjehl 2010-09-18 11:12:50 -04:00
parent db30109223
commit 36dba04c6b

View file

@ -275,7 +275,7 @@
$html.addClass( $.event.special.orientationchange.orientation( $window ) );
//swipe right always triggers a back
$body.bind('swiperight.jqm',function(){
$('.ui-page').live('swiperight.jqm',function(){
history.go(-1);
return false;
});