We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa74be8 commit 51d82b0Copy full SHA for 51d82b0
js/jquery.mobile.navigation.js
@@ -53,7 +53,7 @@ define( [
53
// browsers that auto decode it. All references to location.href should be
54
// replaced with a call to this method so that it can be dealt with properly here
55
getLocation: function( url ) {
56
- var uri = url ? $.mobile.path.parseUrl( url ) : location;
+ var uri = url ? this.parseUrl( url ) : this.parseUrl( location.href );
57
58
return uri.protocol + "//" + uri.host + uri.pathname + uri.search + uri.hash;
59
},
0 commit comments