So, here is the jsfiddle:
Here is the link to the plugin (featherlight lightbox)
The issue is that using the default targetAttr (which is data-featherlight
), it works with only one click.
However, with a custom targetAttr (such as data-single
in this example), I have to click twice before the lightbox opens.
Could someone help me out why it is doing it?
Thank you.