mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-03 12:24:46 +00:00
changed automated swiperight binding to ui-page instead of body.
This commit is contained in:
parent
db30109223
commit
36dba04c6b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue