Skip to content

Commit

Permalink
Firefox automatically converts %27 to ' in the hash
Browse files Browse the repository at this point in the history
  • Loading branch information
James McKinney committed Jun 21, 2011
1 parent 4ddddd4 commit 9bb6db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/ParameterHashStore.js
Expand Up @@ -93,7 +93,7 @@ AjaxSolr.ParameterHashStore = AjaxSolr.ParameterStore.extend(
return function () {
// Support the back/forward buttons. If the hash changes, do a request.
var hash = self.storedString();
if (self.hash != hash) {
if (self.hash != hash && decodeURIComponent(self.hash) != decodeURIComponent(hash)) {
self.load();
self.manager.doRequest();
}
Expand Down

0 comments on commit 9bb6db0

Please sign in to comment.