Changeset 3240869
- Timestamp:
- 02/15/2025 03:41:23 AM (6 weeks ago)
- 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 199 199 $securee = 'http'; 200 200 } 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'; 202 202 //$api_script ='https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&libraries=places'; 203 203 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 25 25 ?> 26 26 <script> 27 window.onload =function initialize_gpa() {27 function initialize_gpa() { 28 28 29 29 … … 138 138 }); 139 139 } 140 window.addEventListener('load', initialize_gpa); 140 141 </script> 141 142 <?php
Note: See TracChangeset
for help on using the changeset viewer.