Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

inadvertent use of location.hash

  • Loading branch information...
commit 51d82b07f1d7f69f9402cd1fa27995f9242877fd 1 parent aa74be8
@johnbender johnbender authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/jquery.mobile.navigation.js
View
2  js/jquery.mobile.navigation.js
@@ -53,7 +53,7 @@ define( [
// browsers that auto decode it. All references to location.href should be
// replaced with a call to this method so that it can be dealt with properly here
getLocation: function( url ) {
- var uri = url ? $.mobile.path.parseUrl( url ) : location;
+ var uri = url ? this.parseUrl( url ) : this.parseUrl( location.href );
return uri.protocol + "//" + uri.host + uri.pathname + uri.search + uri.hash;
},
Please sign in to comment.
Something went wrong with that request. Please try again.