Permalink
Browse files

handle issue with Firefox auto decoding location.hash

  • Loading branch information...
johnbender committed Jul 17, 2012
1 parent 3bc0656 commit 94eae3b566e8307b095c8867b98d0568e0a07a51
Showing with 3 additions and 1 deletion.
  1. +3 −1 js/jquery.mobile.navigation.js
@@ -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

0 comments on commit 94eae3b

Please sign in to comment.