mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-08 16:40:59 +00:00
Don't clear the pageTransition variable until after the hashchange.
This commit is contained in:
parent
ffd864dc70
commit
fa04e2e661
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,6 @@
|
|||
|
||||
// let the hashchange event handler take care of everything else
|
||||
location.hash = href;
|
||||
pageTransition = undefined;
|
||||
|
||||
// note: if it's a non-local-anchor and Ajax is not supported, go to page
|
||||
if ( href.match( /^[^#]/ ) && !$.support.ajax ) {
|
||||
|
|
@ -115,6 +114,7 @@
|
|||
back = !pageTransition && stackLength > 1 &&
|
||||
urlStack[ stackLength - 2 ].url === url,
|
||||
transition = pageTransition || "slide";
|
||||
pageTransition = undefined;
|
||||
|
||||
// if the new href is the same as the previous one
|
||||
if ( back ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue