Fancybox closeClick issue

I’m using fancybox for displaying an image, and by clicking on the overlay the closeClick: true works fine. But I want the overlay to be closed when I click the image aswell, not only outside it.
I see older versions of fancybox had something like “hideContentOnClick”… but that doesn’t seem to be supported in the most recents versions.

Anyone know how I can fix this?

EDIT: solved, admin can remove thread.