Skip to content

Commit aa74be8

Browse files
committed
makes ure that location.hash isn't used because of FF decoding
1 parent 5bac80f commit aa74be8

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
@@ -193,7 +193,7 @@ define( [
193193
//get path from current hash, or from a file path
194194
get: function( newPath ) {
195195
if ( newPath === undefined ) {
196-
newPath = location.hash;
196+
newPath = path.parseLocation().hash;
197197
}
198198
return path.stripHash( newPath ).replace( /[^\/]*\.[^\/*]+$/, '' );
199199
},

0 commit comments

Comments
 (0)