mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
moved calls into one. #cleaning
This commit is contained in:
parent
b649f17d9d
commit
472cbb1778
1 changed files with 4 additions and 3 deletions
|
|
@ -496,9 +496,11 @@
|
|||
|
||||
pageContainerClasses = [];
|
||||
}
|
||||
|
||||
|
||||
//clear page loader
|
||||
$.mobile.pageLoading( true );
|
||||
|
||||
if(transition && (transition !== 'none')){
|
||||
$.mobile.pageLoading( true );
|
||||
if( $.inArray(transition, perspectiveTransitions) >= 0 ){
|
||||
addContainerClass('ui-mobile-viewport-perspective');
|
||||
}
|
||||
|
|
@ -522,7 +524,6 @@
|
|||
});
|
||||
}
|
||||
else{
|
||||
$.mobile.pageLoading( true );
|
||||
if( from ){
|
||||
from.removeClass( $.mobile.activePageClass );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue