Jugendhackt / HowToPGP

PGP made easy
https://howtopgp.jugendhackt.de/#/
GNU General Public License v2.0
23 stars 5 forks source link

Support navigation with browser history buttons #24

Closed inguin closed 8 years ago

inguin commented 8 years ago

This patch appends a hash to the URL to reflect the current stage of the survey. This allows the user to go backward and forward using the browser history buttons. In case an unknown hash is specified one of the preceding questions has not been answered (e.g. when reloading the page, or copy&pasting the URL) the survey will restart from the beginning.

ByteHamster commented 8 years ago

Thanks! Unfortunately, this commit breaks clicking on the page title

inguin commented 8 years ago

Good catch! I added a second commit to fix the title link.