mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-26 09:04:43 +00:00
changed to use classes for toggling globalnav visibility
This commit is contained in:
parent
c3d95d5fd0
commit
12773bc925
1 changed files with 2 additions and 2 deletions
|
|
@ -47,10 +47,10 @@
|
|||
|
||||
function manageGlobalNav(){
|
||||
if($('.ui-page-active:last').is('.ui-globalnav-expanded')){
|
||||
$('[data-role="globalnav"]').hide();
|
||||
$('[data-role="globalnav"]').addClass('ui-globalnav-disable');
|
||||
}
|
||||
else{
|
||||
$('[data-role="globalnav"]').show();
|
||||
$('[data-role="globalnav"]').removeClass('ui-globalnav-disable');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue