aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2025-11-15 17:35:01 -0800
committerDan Fandrich <danf@mageia.org>2025-11-15 18:30:35 -0800
commitc9d3de96e19a09488452d852bcdefffc5a25129a (patch)
tree1d0b7b649552cee854f6a49d0b6ded3a1d0af8d8
parentaf3a1403571bde5f05a1ffc69080789bf2cc2e2e (diff)
downloadmgamirrors-c9d3de96e19a09488452d852bcdefffc5a25129a.tar
mgamirrors-c9d3de96e19a09488452d852bcdefffc5a25129a.tar.gz
mgamirrors-c9d3de96e19a09488452d852bcdefffc5a25129a.tar.bz2
mgamirrors-c9d3de96e19a09488452d852bcdefffc5a25129a.tar.xz
mgamirrors-c9d3de96e19a09488452d852bcdefffc5a25129a.zip
Set the async flag when loading the Google Maps API
This API isn't working (it's outdated and there's no API key) and while this change might actually be breaking it more, but it at least stops an intrusive alert from showing on the page for every user.
-rw-r--r--root/html/pages/report/index.tt2
1 files changed, 1 insertions, 1 deletions
diff --git a/root/html/pages/report/index.tt b/root/html/pages/report/index.tt
index 5a8875a..c234ddd 100644
--- a/root/html/pages/report/index.tt
+++ b/root/html/pages/report/index.tt
@@ -1,6 +1,6 @@
<!-- $Id$ -->
<script type="text/javascript"
- src="https://maps.google.com/maps/api/js?sensor=false">
+ src="https://maps.google.com/maps/api/js?sensor=false&amp;loading=async">
</script>
<style>
div.infow { margin: 0; font-size: 70%; font-family: Helvetica, Arial, sans-serif; }