codecomputerlove/PhotoSwipe — Issue #230: Refreshing the gallery or deep-linking in JQuery Mobile does not work.
Author: allroadcole
Created: 2012-01-02 23:22:27+00:00
State: open

If you navigate directly to the gallery page in the demo:

http://www.photoswipe.com/latest/examples/04-jquery-mobile.html#Gallery2

You will notice that when you click an image it does not open in the gallery.

This is a real problem if the gallery is the first page in your mobile app.

I just tested in Chrome and FireFox. I think the problem is because pageshow is not firing. Is there another event we can use?

Thanks