5 ms·
Please, please, don't mess with my page history. When I hit back in my browser, I don't want to go back a slide, I want to go back to the previous page.
by andrewguenther 9y ago
Please, please, don't mess with my page history. When I hit back in my browser, I don't want to go back a slide, I want to go back to the previous page.
- gitpitch 9y agoHi @andrewguenther individual slides appear in the history by default as it allows direct linking inside a slideshow. See Slide Direct Links in the Wiki: https://github.com/gitpitch/gitpitch/wiki/Slide-Direct-Links https://github.com/gitpitch/gitpitch/wiki/Slide-Direct-Links If you want to disable this feature you can disable it using your PITCHME.yaml config file, just add: history: false
- redonkulus 9y agoYou could use replaceState instead to change the URL but leave the history intact. https://developer.mozilla.org/en-US/docs/Web/API/History_API#The_replaceState()_method https://developer.mozilla.org/en-US/docs/Web/API/History_API... This avoids having to click back through each slide.