image gallery simplified - jQuery plugin. Touch enabled, responsive, justified/cascading/grid layout and it supports pulling in Flickr, Google Photos and self hosted images.
The gallery stops working on mobile devices if you do the following:
Setup a gallery with pagination and more than 1 page of images
Tap thumbnail to open image
Close enlarged image
Swipe right to show next page
Attempt to tap another thumbnail and nothing happens
The issue seems to be that the event listeners assigned to the viewer are not getting removed when the viewer is closed. Then when attempting to tap on a thumbnail, the viewer event listeners are flipping g_containerViewerDisplayed to true, which in turn is causing the thumbnails' event handlers to return early.
My fix for this is to add the following at line 6874
right above g_viewerSwipe=null;
The gallery stops working on mobile devices if you do the following:
The issue seems to be that the event listeners assigned to the viewer are not getting removed when the viewer is closed. Then when attempting to tap on a thumbnail, the viewer event listeners are flipping g_containerViewerDisplayed to true, which in turn is causing the thumbnails' event handlers to return early.
My fix for this is to add the following at line 6874 right above g_viewerSwipe=null;