append globalnav to end of body after page change

This commit is contained in:
scottjehl 2010-09-18 14:02:49 -04:00
parent f9f236fb8b
commit 1c1dc1d94f

View file

@ -91,6 +91,8 @@
from.addClass( transition + " out " + ( back ? "reverse" : "" ) );
to.appendTo($body).addClass( activePageClass + " " + transition +
" in " + ( back ? "reverse" : "" ) );
//make sure globalnav is on top
$('[data-role="globalnav"]').appendTo($body);
// callback - remove classes, etc
to.animationComplete(function() {