mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-26 18:50:31 +00:00
removed references to globalnavs, as they'll need to be managed in a different way.
This commit is contained in:
parent
3f2c23b66d
commit
b6239c02f7
1 changed files with 0 additions and 13 deletions
|
|
@ -53,15 +53,6 @@
|
|||
}, 150 );
|
||||
}
|
||||
|
||||
function manageGlobalNav(activePage){
|
||||
if(activePage.is('.ui-globalnav-expanded')){
|
||||
jQuery('[data-role="globalnav"]').addClass('ui-globalnav-disable');
|
||||
}
|
||||
else{
|
||||
jQuery('[data-role="globalnav"]').removeClass('ui-globalnav-disable');
|
||||
}
|
||||
}
|
||||
|
||||
// send a link through hash tracking
|
||||
jQuery.fn.ajaxClick = function() {
|
||||
var href = jQuery( this ).attr( "href" );
|
||||
|
|
@ -108,9 +99,6 @@
|
|||
from.addClass( transition + " out " + ( back ? "reverse" : "" ) );
|
||||
to.appendTo($body).addClass( activePageClass + " " + transition +
|
||||
" in " + ( back ? "reverse" : "" ) );
|
||||
//make sure globalnav is on top
|
||||
jQuery('[data-role="globalnav"]').appendTo($body);
|
||||
manageGlobalNav(to);
|
||||
|
||||
// callback - remove classes, etc
|
||||
to.animationComplete(function() {
|
||||
|
|
@ -196,7 +184,6 @@
|
|||
changePage( currentPage, startPage, transition, back );
|
||||
} else {
|
||||
startPage.addClass( activePageClass );
|
||||
manageGlobalNav(startPage);
|
||||
jQuery.fixedToolbars.show();
|
||||
pageLoading( true );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue