JavaScript Error when no API key is given
-
Hello guys.
When I have map added in shortcode, but not added API key to site yet, map return JavaScript error that breaks site
TypeError: a is undefined
https://maps.google.com/maps/api/js?v=3.exp&&libraries=placesCan you do something about it, to not load google files, when API key is not added yet?
This is breaking pages when we import sites made for clients to their servers.
With kind regards.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘JavaScript Error when no API key is given’ is closed to new replies.