HEX
Server: Apache
System: Linux webm003.cluster123.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User: vanessatli (59366)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/vanessatli/www/wp-content/themes/hestia/assets/js/admin/welcome-notice.js
/**
 * Main scripts file for the welcome notice.
 */

/* global hestiaWelcomeNotice */

(function ($) {
    $(document).ready(function () {
        $(document).on('click', '.notice.ti-about-notice .notice-dismiss, .notice.ti-about-notice .ti-return-dashboard span', function () {
            $.ajax({
                async: true,
                type: 'POST',
                data: {
                    action: 'ti_about_dismiss_welcome_notice',
                    nonce: window.hestiaWelcomeNotice.dismissNonce
                },
                url: window.hestiaWelcomeNotice.ajaxurl,
                success: function ( response ) {
                    console.log(response);
                    $(' .ti-about-notice ').fadeOut();
                }
            });
        });
    });
})(jQuery);