Missed a couple of places I should've used hrefNoHash when I converted documentBase to an urlObject.

This commit is contained in:
Kin Blas 2011-06-04 10:51:41 -07:00
parent f9dd767528
commit 19f1a775b9

View file

@ -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 : $( "<base>", { href: documentBase } ).prependTo( $head ) ),
element: ( $base.length ? $base : $( "<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;