![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/gg.corals.io/wp-content/plugins/strong-testimonials/assets/js/ |
jQuery(document).ready(function($){ // Dismiss challenge on cancel $('body').on('click','#wpmtst-challenge-close',function (e) { e.preventDefault(); set_challenge_hidden() }); // Dismiss challenge on start $('body').on('click',' #wpmtst-challenge-button',function (e) { e.preventDefault(); set_challenge_hidden(); location.href = $(this).attr('href'); }); function set_challenge_hidden(){ jQuery.ajax({ url: wpmtstChallenge.ajaxurl, type: 'POST', dataType: 'json', data: { action: 'wpmtst_challenge_hide', 'nonce' : wpmtstChallenge.nonce }, success: function( ) { $( '.wpmtst-challenge-wrap' ).fadeOut( 200, function() { $( '.wpmtst-challenge-wrap' ).remove(); }); } }); } });