| Server IP : 192.185.51.88 / Your IP : 216.73.216.134 Web Server : Apache System : Linux gator4137.hostgator.com 5.14.0-687.52.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Sep 29 05:11:00 EDT 2026 x86_64 User : dongoodeve ( 865) PHP Version : 8.3.37 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home4/dongoodeve/oldTopLevel/public_html/wp-content/plugins/wp-google-maps/js/ |
Upload File : |
jQuery(document).ready(function(){
jQuery("body").on("click",".wpgmza_copy_shortcode", function() {
var $temp = jQuery('<input>');
var $tmp2 = jQuery('<span id="wpgmza_tmp" style="display:none; width:100%; text-align:center;">');
jQuery("body").append($temp);
$temp.val(jQuery(this).val()).select();
document.execCommand("copy");
$temp.remove();
jQuery(this).after($tmp2);
jQuery($tmp2).html(wpgmaps_localize_strings["wpgm_copy_string"]);
jQuery($tmp2).fadeIn();
setTimeout(function(){ jQuery($tmp2).fadeOut(); }, 1000);
setTimeout(function(){ jQuery($tmp2).remove(); }, 1500);
});
jQuery('#wpgmza_settings_enable_usage_tracking').change(function(event) {
var usage_tracking = jQuery(this);
if (usage_tracking.is (':checked')){
var enabled = true;
} else {
var enabled = false;
}
var email = jQuery("#wpgmza_admin_email_coupon").val();
var data = {
action: 'request_coupon',
email: email,
status: enabled
}
jQuery.post(ajaxurl, data, function(response){
});
});
});