HEX
Server: LiteSpeed
System: Linux cluster02.load-balancer.x2.network 4.18.0-553.51.1.lve.1.el8.x86_64 #1 SMP Wed May 14 14:34:57 UTC 2025 x86_64
User: kbdhpghp (1098)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //proc/thread-self/cwd/wp-content/plugins/internal-links/admin/js/ilj_promo.js
/*!***********************************!*\
  !*** ./src/admin/js/ilj_promo.js ***!
  \***********************************/
(function ($) {
  /**
   * Config for tipso
   */
  var tipsoConfig_promo = {
    width: '',
    useTitle: true,
    delay: 100,
    speed: 500,
    background: '#32373c',
    color: '#eeeeee',
    size: 'small',
    position: 'left'
  };
  $(function () {
    if (jQuery('.promo').length) {
      jQuery('.promo').find('.close').iljtipso(tipsoConfig_promo);
      jQuery('.promo').find('.close').on('click', function () {
        jQuery(this).closest('.promo').slideUp();
        jQuery.ajax({
          url: ajaxurl,
          type: "POST",
          data: {
            'action': 'ilj_hide_promo',
            'nonce': ilj_ajax_object.nonce
          }
        });
      });
    }
  });
})(jQuery);