Skip to content

Commit

Permalink
Include URL fragment in history navigation stack pathnames (#268)
Browse files Browse the repository at this point in the history
This fixes #267.
  • Loading branch information
gigabo committed Jun 3, 2016
1 parent 5898cb8 commit b8d33ac
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 b8d33ac

Please sign in to comment.