Kris-B / nanoGALLERY

image gallery simplified - jQuery plugin. Touch enabled, responsive, justified/cascading/grid layout and it supports pulling in Flickr, Google Photos and self hosted images.
https://nanogallery2.nanostudio.org/
438 stars 101 forks source link

When clicking on breadcrumb links, the location hash is not updated #24

Closed ghost closed 10 years ago

ghost commented 10 years ago

Hi,

When you use nanogallery with the breadcrumb and the locationHash, the location hash is not refreshed after clicking on a breadcrumb link.

It is due to the callbacks linked to the 'oneFolder'/'separator' divs (functions 'breadcrumbAdd'*). There is a call to the function 'DisplayAlbum' which is not correct. It should be 'DisplayAlbum(sep/cAlbumIdx, true);'

Anyway, very nice and pleasant tool. Great work!

Regards.

Kris-B commented 10 years ago

Hi, Yes, there's an issue with the location hash and the breadcrumb usage. It has been corrected in v4.4.1 - https://github.com/Kris-B/nanoGALLERY/releases/tag/4.4.1 The implemented solution is a little bit different than your proposition. But thanks for the advice.