Closed mridgway closed 8 years ago
This solves an issue where navigation such as Page 1 -> Page 2 -> Off-site and then using the back button twice will result in missing the second popstate event. This causes the URL to be for Page 1 but still displaying the app on Page 2.
Page 1 -> Page 2 -> Off-site
popstate
Page 1
Page 2
Open to other ideas on how to solve this.
I don't have a better solution. This looks good to me. :+1:
CLA is valid!
This solves an issue where navigation such as
Page 1 -> Page 2 -> Off-site
and then using the back button twice will result in missing the secondpopstate
event. This causes the URL to be forPage 1
but still displaying the app onPage 2
.Open to other ideas on how to solve this.