Skip to content

Commit

Permalink
Include URL fragment in history navigation stack pathnames (redfin#268)
Browse files Browse the repository at this point in the history
This fixes redfin#267.
  • Loading branch information
gigabo authored and davidalber committed Jul 24, 2016
1 parent ff256e1 commit 260b4f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-server/core/ClientController.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function getHistoryStateFrame(request) {
}

function getHistoryPathname() {
return location.pathname + location.search;
return location.pathname + location.search + location.hash;
}

class ClientController extends EventEmitter {
Expand Down

0 comments on commit 260b4f3

Please sign in to comment.