| Server IP : 45.77.68.45 / Your IP : 127.0.0.100 Web Server : PHPix/0.2.2 (Caddy compatible) System : wasi wasmer.sh 0.0.0 0.0.0 wasm32 User : ( 1) PHP Version : 8.3.21 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /app/wp-content/themes/consultstreet/assets/js/ |
Upload File : |
( function( $ ){
$( document ).ready( function(){
$( '.consultstreet-btn-get-started' ).on( 'click', function( e ) {
e.preventDefault();
$( this ).html( 'Processing.. Please wait' ).addClass( 'updating-message' );
$.post( consultstreet_ajax_object.ajax_url, { 'action' : 'install_act_plugin' }, function( response ){
location.href = 'customize.php?arile_notice=dismiss-get-started';
} );
} );
} );
$( document ).on( 'click', '.notice-get-started-class .notice-dismiss', function () {
// Read the "data-notice" information to track which notice
// is being dismissed and send it via AJAX
var type = $( this ).closest( '.notice-get-started-class' ).data( 'notice' );
// Make an AJAX call
$.ajax( ajaxurl,
{
type: 'POST',
data: {
action: 'consultstreet_dismissed_notice_handler',
type: type,
}
} );
} );
}( jQuery ) )