Skip to content

Commit

Permalink
patching a pernicious pushstate problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Aug 9, 2011
1 parent 8fe04a9 commit 44629da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backbone.js
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@
fragment = window.location.hash;
}
}
return fragment.replace(hashStrip, '');
return decodeURIComponent(fragment.replace(hashStrip, ''));
},

// Start the hash change handling, returning `true` if the current URL matches
Expand Down

0 comments on commit 44629da

Please sign in to comment.