Skip to content

Commit

Permalink
Fix #108
Browse files Browse the repository at this point in the history
  • Loading branch information
Tastaturberuf committed Nov 4, 2024
1 parent 7ff9943 commit 8f079cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/API/GoogleMaps.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public static function includeJs(array $params = []): void
{
$params['language'] ??= $GLOBALS['TL_LANGUAGE'];
$params['key'] ??= Config::get('anystores_apiBrowserKey');
$params['callback'] ??= 'initialize';
$params['callback'] ??= 'Function.prototype';

$GLOBALS['TL_JAVASCRIPT']['googleapis-maps'] = 'https://maps.googleapis.com/maps/api/js?' . http_build_query($params, '', '&') . '|async';
}
Expand Down

0 comments on commit 8f079cb

Please sign in to comment.