You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You have to validate google object otherwise this will crash / disturb admin pages, while editing content, if there is no internet connectivity, you can turf off internet and then check if you would like to confirm issue, I just added 2 lines to your event function
if( typeof google === "object" && typeof google.maps === "object" )
{
$(document).ready(function(){
// You code goes here...
})
}
You have to validate google object otherwise this will crash / disturb admin pages, while editing content, if there is no internet connectivity, you can turf off internet and then check if you would like to confirm issue, I just added 2 lines to your event function
if( typeof google === "object" && typeof google.maps === "object" )
{
$(document).ready(function(){
// You code goes here...
})
}
Modified code
https://gist.githubusercontent.com/Akshay-Hegde/b7011d0ce5d90eb2fc53/raw/ad386bd742b991dfcd367343e2767adfdc4aad91/field.geocoder.php
The text was updated successfully, but these errors were encountered: