#547·gmaps

Suggestion: Remove JS error when Maps API not present

Author: ingagecoCreated Apr 8, 2017Updated Jun 4, 2019

The JS error is great for development if you're wondering why the script might not be working. In production, when you're not loading the Maps API on every page, this error stands in the way of a clean console.

Could this only be a console message?