Skip to content
Advertisement

Tag: flickity

Flickity & Swup – destroying flickity

I am trying to destroy and re-load my Flickity slideshow while using Swup for page transitions, and I am not having much luck. This is my js file: But when I try this I get the error flkty is not defined. Can anyone give me any pointers on this? Answer Variable scoping As mentioned by CBroe, your var is undefined

Advertisement