Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't pushState when already on the url #42735

Merged
merged 2 commits into from Nov 10, 2022

Commits on Nov 10, 2022

  1. Don't pushState when already on the url

    Solves the case where you click a link to the page you're on already that pushes additional history entries, uses replaceState for that instead. This mirrors the default `<a>` behavior.
    timneutkens committed Nov 10, 2022
    Copy the full SHA
    f50a651 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    2738959 View commit details
    Browse the repository at this point in the history