Reply To: Disable FancyBox for wikimedia images.

Your Account / Forums / Easy FancyBox Pro / Disable FancyBox for wikimedia images. / Reply To: Disable FancyBox for wikimedia images.

May 6, 2018 at 12:57 am #12121

Hi Antonio, yes I see how the script is not working anymore. Or rather: it’s working but too late.

Please try this version of the script:
jQuery(document).ready(
function(){ jQuery(‘a[href*=”commons.wikimedia.org”]’).addClass(‘nolightbox’); }
);