Skip to content

Commit

Permalink
Settings: js err prevents city autocomplete proudcity/wp-proudcity#774
Browse files Browse the repository at this point in the history
  • Loading branch information
jlyon committed Jan 18, 2017
1 parent 75b074f commit 2ba6331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings/assets/google-places.js
Expand Up @@ -4,7 +4,7 @@
types: ["(cities)"]
};
google.maps.event.addDomListener(window, 'load', function () {
var places = new google.maps.places.Autocomplete(document.getElementById('city_input'), options);
var places = new google.maps.places.Autocomplete(document.getElementById('form-proudsettings-1-city_input'), options);
google.maps.event.addListener(places, 'place_changed', function () {
$('#city-input-wrapper-header').addClass('active');
var place = places.getPlace();
Expand Down

0 comments on commit 2ba6331

Please sign in to comment.