PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/v1world.us/wp-content/plugins/wpforms-lite/assets/js/components/admin/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //home/trave494/v1world.us/wp-content/plugins/wpforms-lite/assets/js/components/admin/notices.js |
/* global wpforms_admin_notices */ /** * WPForms Dismissible Notices. * * @since 1.6.7.1 */ 'use strict'; var WPFormsAdminNotices = window.WPFormsAdminNotices || ( function( document, window, $ ) { /** * Public functions and properties. * * @since 1.6.7.1 * * @type {object} */ var app = { /** * Start the engine. * * @since 1.6.7.1 */ init: function() { $( app.ready ); }, /** * Document ready. * * @since 1.6.7.1 */ ready: function() { app.events(); }, /** * Dismissible notices events. * * @since 1.6.7.1 */ events: function() { $( document ).on( 'click', '.wpforms-notice .notice-dismiss, .wpforms-notice .wpforms-notice-dismiss', app.dismissNotice ); }, /** * Dismiss notice event handler. * * @since 1.6.7.1 * * @param {object} e Event object. * */ dismissNotice: function( e ) { $.post( wpforms_admin_notices.ajax_url, { action: 'wpforms_notice_dismiss', nonce: wpforms_admin_notices.nonce, id: ( $( this ).closest( '.wpforms-notice' ).attr( 'id' ) || '' ).replace( 'wpforms-notice-', '' ), } ); }, }; return app; }( document, window, jQuery ) ); // Initialize. WPFormsAdminNotices.init();