(function ($) {
    'use strict';

    $(document).on('click', '[data-ip-intel-sync]', function (event) {
        event.preventDefault();
        $.post(ultraguardIpIntelligence.ajaxUrl, {
            action: 'ultraguard_ip_intel_sync_now',
            nonce: ultraguardIpIntelligence.nonce
        });
    });
})(jQuery);
