So, here is the [jsfiddle](https://jsfiddle.net/5e9e2k6y/5/): 

Here is the link to the plugin ([featherlight lightbox](https://github.com/noelboss/featherlight#support))

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.