mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-06 23:50:59 +00:00
changed body swipe to swipe right and namespaced it as swiperight.jqm
This commit is contained in:
parent
da965319c4
commit
2bf43990ba
1 changed files with 3 additions and 3 deletions
|
|
@ -384,8 +384,8 @@
|
|||
});
|
||||
};
|
||||
|
||||
//swipe left always triggers a back
|
||||
$(document).swipeleft(function(){
|
||||
//swipe right always triggers a back
|
||||
$('body').bind('swiperight.jqm',function(){
|
||||
history.go(-1);
|
||||
return false;
|
||||
});
|
||||
|
|
@ -455,7 +455,7 @@
|
|||
$window.trigger( "hashchange" );
|
||||
|
||||
//... this shouldn't be needed, but chrome isn't getting it sometimes
|
||||
setTimeout(function(){ pageLoading(true); }, 3000);
|
||||
//setTimeout(function(){ pageLoading(true); }, 3000);
|
||||
|
||||
//update orientation
|
||||
updateOrientation();
|
||||
|
|
|
|||
Loading…
Reference in a new issue