From b6239c02f7e221069800a8e85ff862bd81c92abe Mon Sep 17 00:00:00 2001 From: scottjehl Date: Fri, 1 Oct 2010 18:45:46 -0400 Subject: [PATCH] removed references to globalnavs, as they'll need to be managed in a different way. --- js/jQuery.mobile.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/js/jQuery.mobile.js b/js/jQuery.mobile.js index 954582ab..a612fed1 100644 --- a/js/jQuery.mobile.js +++ b/js/jQuery.mobile.js @@ -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 ); }