{"action":"created","issue":{"url":"https://api.github.com/repos/metafizzy/flickity/issues/218","labels_url":"https://api.github.com/repos/metafizzy/flickity/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/metafizzy/flickity/issues/218/comments","events_url":"https://api.github.com/repos/metafizzy/flickity/issues/218/events","html_url":"https://github.com/metafizzy/flickity/issues/218","id":102007392,"number":218,"title":"asNavFor - click on thumb not working","user":{"login":"mmjaeger","id":1554580,"avatar_url":"https://avatars.githubusercontent.com/u/1554580?v=3","gravatar_id":"","url":"https://api.github.com/users/mmjaeger","html_url":"https://github.com/mmjaeger","followers_url":"https://api.github.com/users/mmjaeger/followers","following_url":"https://api.github.com/users/mmjaeger/following{/other_user}","gists_url":"https://api.github.com/users/mmjaeger/gists{/gist_id}","starred_url":"https://api.github.com/users/mmjaeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmjaeger/subscriptions","organizations_url":"https://api.github.com/users/mmjaeger/orgs","repos_url":"https://api.github.com/users/mmjaeger/repos","events_url":"https://api.github.com/users/mmjaeger/events{/privacy}","received_events_url":"https://api.github.com/users/mmjaeger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/metafizzy/flickity/labels/test%20case%20required","name":"test case required","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-19T21:50:23Z","updated_at":"2015-08-20T20:38:31Z","closed_at":null,"body":"hello\r\nthis really drives me nuts - everything looks nice and works fine but the click events on the thumbnails don't do anything - anyway to debug this and figure out what's going on - hope somebody has an idea how to fix this - thanks\r\n\r\nthis is my code: \r\n\r\n``` js\r\nvar galleryEl\t\t= $( '.flickity-gallery[data-id=' + id + ']' );\r\nvar galleryNavEl\t= $( '.flickity-gallery-nav[data-id=' + id + ']' );\r\n\r\n// Main gallery\r\n$( galleryEl ).flickity({\r\n\tautoPlay:\t\tfalse,\r\n\t//imagesLoaded:\ttrue,\r\n\t//lazyLoad:\t\t2,\r\n\tpageDots:\t\tfalse\r\n});\r\n\r\n// Thumbnail nav\r\n$( galleryNavEl ).flickity({\r\n\tasNavFor:\t\t\t'.flickity-gallery-6666',\r\n\tcellAlign:\t\t\t'center',\r\n\tcontain:\t\t\ttrue,\r\n\tpageDots:\t\t\tfalse,\r\n\twrapAround:\t\t\ttrue\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/metafizzy/flickity/issues/comments/133163705","html_url":"https://github.com/metafizzy/flickity/issues/218#issuecomment-133163705","issue_url":"https://api.github.com/repos/metafizzy/flickity/issues/218","id":133163705,"user":{"login":"mmjaeger","id":1554580,"avatar_url":"https://avatars.githubusercontent.com/u/1554580?v=3","gravatar_id":"","url":"https://api.github.com/users/mmjaeger","html_url":"https://github.com/mmjaeger","followers_url":"https://api.github.com/users/mmjaeger/followers","following_url":"https://api.github.com/users/mmjaeger/following{/other_user}","gists_url":"https://api.github.com/users/mmjaeger/gists{/gist_id}","starred_url":"https://api.github.com/users/mmjaeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmjaeger/subscriptions","organizations_url":"https://api.github.com/users/mmjaeger/orgs","repos_url":"https://api.github.com/users/mmjaeger/repos","events_url":"https://api.github.com/users/mmjaeger/events{/privacy}","received_events_url":"https://api.github.com/users/mmjaeger/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T20:38:31Z","updated_at":"2015-08-20T20:38:31Z","body":"That did the trick - as I'm getting the gallery element by data attribute like:\r\nvar galleryEl\t\t= $( '.flickity-gallery[data-id=' + id + ']' );\r\n\t\t\tvar galleryNavEl\t= $( '.flickity-gallery-nav[data-id=' + id + ']' );\r\n\r\nI had to find a workaround and put the id also into the class name as I have multiple sliders on the page - I think it should be possible to pass an object as well and not only the class name - maybe something for the next version? - thanks for your help."}}