Просмотр исходного кода

Ticket #4558 - Build-in API support: Undo the change (53ed761).

AntonLV 1 год назад
Родитель
Сommit
58dcd57c57
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      template/location_field_google.html

+ 1 - 1
template/location_field_google.html

@@ -193,7 +193,7 @@
     }
     
     $(document).ready(function () {        
-        if ('undefined' === typeof(google.maps))
+        if ('undefined' === typeof(google))
             bx_get_scripts(['https://maps.google.com/maps/api/js?libraries=places&language=__lang__&key=__key__'], fInitCallback);
         else
             fInitCallback();