Skip to content

Commit

Permalink
Update createBrowserHistory.js
Browse files Browse the repository at this point in the history
add support for forceRefresh

addresses issue: remix-run#95
  • Loading branch information
Patrick Williams committed Oct 14, 2015
1 parent f5292c2 commit bd0112e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/createBrowserHistory.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function createBrowserHistory(options) {
'Browser history needs a DOM'
)

let isSupported = supportsHistory()
let isSupported = supportsHistory() && !options.forceRefresh

function getCurrentLocation(historyState) {
historyState = historyState || window.history.state || {}
Expand Down

0 comments on commit bd0112e

Please sign in to comment.