Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit e517b16

Browse files
committed
inadvertent use of location.hash
1 parent 3d6c0f3 commit e517b16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.mobile.navigation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ define( [
5353
// browsers that auto decode it. All references to location.href should be
5454
// replaced with a call to this method so that it can be dealt with properly here
5555
getLocation: function( url ) {
56-
var uri = url ? $.mobile.path.parseUrl( url ) : location;
56+
var uri = url ? this.parseUrl( url ) : this.parseUrl( location.href );
5757

5858
return uri.protocol + "//" + uri.host + uri.pathname + uri.search + uri.hash;
5959
},

0 commit comments

Comments
 (0)