nanogallery2
nanogallery2 copied to clipboard
Allow thumbnail navigation without zooming enabled
I noticed that when I set "viewerZoom": false
clicking on the thumbnails along the bottom when viewing an image stopped being able to be clicked to navigate to other images. It looks like this is because those events aren't registered except for when zooming is enabled.
This PR moves the if
clause slightly to always allow thumbnail navigation even when viewer zoom is set to false.