mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-28 07:34:00 +00:00
Missed a couple of places I should've used hrefNoHash when I converted documentBase to an urlObject.
This commit is contained in:
parent
f9dd767528
commit
19f1a775b9
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue