Remove the Google Maps Api key

This commit is contained in:
Amauri CHAMPEAUX 2015-05-29 16:23:40 +02:00
parent 0b89364c41
commit 9f50e41f23
1 changed files with 1 additions and 5 deletions

View File

@ -679,11 +679,7 @@ tarteaucitron.services.googlemaps = {
uniqIds = [],
i;
if (tarteaucitron.user.googlemapsApiKey === undefined) {
return;
}
tarteaucitron.addScript('//maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true&callback=tac_googlemaps_callback&key=' + tarteaucitron.user.googlemapsApiKey);
tarteaucitron.addScript('//maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true&callback=tac_googlemaps_callback');
window.tac_googlemaps_callback = function () {
tarteaucitron.fallback(['googlemaps-canvas'], function (x) {