Closed kentonv closed 8 years ago
I've run into this before, thanks for flagging it. When you visit /
it redirects to /files/
for consistency, but it ends up breaking the back button. replaceState()
should make the back button work as expected.
Steps to reproduce:
Expected result: Goes back to grain list.
Actual result: Goes back to "loading" animation in Davros and then immediately forward again. Repeated clicks simply repeat this sequence.
Comments: There is a
window.history.pushState()
occurring shortly after initial page load that ought to be areplaceState()
instead.