diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 0c7c2253..f35b9d76 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -344,7 +344,7 @@ var base = $.support.dynamicBaseTag ? { //define base element, for use in routing asset urls that are referenced in Ajax-requested markup - element: ( $base.length ? $base : $( "", { href: documentBase } ).prependTo( $head ) ), + element: ( $base.length ? $base : $( "", { href: documentBase.hrefNoHash } ).prependTo( $head ) ), //set the generated BASE element's href attribute to a new page's base path set: function( href ) { @@ -353,7 +353,7 @@ //set the generated BASE element's href attribute to a new page's base path reset: function() { - base.element.attr( "href", documentBase ); + base.element.attr( "href", documentBase.hrefNoHash ); } } : undefined;