Plugin Directory

Changeset 3240869


Ignore:
Timestamp:
02/15/2025 03:41:23 AM (6 weeks ago)
Author:
gravitymaster97
Message:

Description of changes

Location:
autocomplete-location-field-contact-form-7/trunk/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • autocomplete-location-field-contact-form-7/trunk/includes/GWAA_Backend.php

    r2988083 r3240869  
    199199            $securee = 'http';
    200200      }
    201       $api_script .= $securee.'://maps.googleapis.com/maps/api/js?key=' . $api_key . '&libraries=places';
     201      $api_script .= $securee.'://maps.googleapis.com/maps/api/js?key=' . $api_key . '&libraries=places&loading=async';
    202202     //$api_script ='https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&libraries=places';
    203203          wp_enqueue_script( 'gpa-google-places-api', $api_script, array(), 'null', true );
  • autocomplete-location-field-contact-form-7/trunk/includes/GWAA_Frontend.php

    r2970013 r3240869  
    2525    ?>
    2626<script>
    27 window.onload = function initialize_gpa() {
     27function initialize_gpa() {
    2828   
    2929
     
    138138        });
    139139}
     140window.addEventListener('load', initialize_gpa);
    140141</script>
    141142    <?php
Note: See TracChangeset for help on using the changeset viewer.