codecomputerlove/PhotoSwipe — Issue #238: Back-button in Chrome & FF
Author: tdemooij
Created: 2012-01-11 22:07:15+00:00
State: open

When you've clicked on an image and use the browser-back button, you are not returning to the gallery. At least, not in Firefox and Chrome, Safari works fine...

It's not working because it doesn't add the hashtag to the URL when you click on an image. Somehow the 'window.location.hash' is not working for these browsers. Is there a fix for this?