Merge pull request #1027 from Gecka-Apps/fix-maps_noapi

Fix service: Google Maps NoAPI (maps_noapi)
This commit is contained in:
Amauri CHAMPEAUX 2022-12-08 10:07:47 +01:00 committed by GitHub
commit e492c7053d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5046,7 +5046,7 @@ tarteaucitron.services.maps_noapi = {
var id = x.getAttribute("id"), var id = x.getAttribute("id"),
width = x.getAttribute("width"), width = x.getAttribute("width"),
height = x.getAttribute("height") height = x.getAttribute("height")
var widgetURL = "https://google.com/maps/embed?pb=" + id; var widgetURL = "https://www.google.com/maps/embed?pb=" + id;
return "<iframe width=\"" + width + "\" height=\"" + height + "\" src=\"" + widgetURL + "\" style=\"border:0;\" allowfullscreen=\"\" loading=\"lazy\"></iframe>"; return "<iframe width=\"" + width + "\" height=\"" + height + "\" src=\"" + widgetURL + "\" style=\"border:0;\" allowfullscreen=\"\" loading=\"lazy\"></iframe>";
}); });
}, },