From 9f50e41f23da7ec7a4b5027128eb6ae91659fafe Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Fri, 29 May 2015 16:23:40 +0200 Subject: [PATCH] Remove the Google Maps Api key --- tarteaucitron.services.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index 83f8711..0c01f8a 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -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) {