Skip to content

Commit

Permalink
Use assign to preserve back button behavior (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
recrwplay authored Oct 10, 2023
1 parent be5616d commit 4ea1b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/01-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
window.ga('send', 'event', 'version-select', 'From: ' + current + ';To:' + next + ';')
}

document.location.replace(url)
document.location.assign(url)
})
}

Expand Down

0 comments on commit 4ea1b0f

Please sign in to comment.