FachschaftMathPhysInfo / Finance-Visualizer

Gibt eine Übersicht über die Finanzen der Fachschaft MathPhysInfo
http://www.mathphys.info/finanzen/
GNU General Public License v3.0
4 stars 2 forks source link

Make backwards navigation possible #17

Closed TuringTux closed 3 years ago

TuringTux commented 4 years ago

Currently, when the application is accessed without a URL hash (like this https://mathphys.info/finanzen), the latest URL hash is appended automatically (https://mathphys.info/finanzen#2019), creating another entry in the browser history.

This makes backwards navigation impossible. When you try to go back from https://mathphys.info/finanzen#2019, you get to https://mathphys.info/finanzen and are immediately redirected to https://mathphys.info/finanzen#2019.

Using this API here (https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState) will probably do the trick.

I can have a look into this, I'm just not sure how soon this will be.