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

Commit

Permalink
handle issue with Firefox auto decoding location.hash
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbender committed Aug 7, 2012
1 parent 3bc0656 commit 94eae3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/jquery.mobile.navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,9 @@ define( [

//hashchange event handler
$window.bind( "hashchange", function( e, triggered ) {
$.mobile._handleHashChange( location.hash );
// Firefox auto-escapes the location.hash as for v13 but
// leaves the href untouched
$.mobile._handleHashChange( path.parseUrl(location.href).hash );
});

//set page min-heights to be device specific
Expand Down

0 comments on commit 94eae3b

Please sign in to comment.