Merged in bugfix/MAPG-26-fix-js-loading (pull request #6)
MAPG-26 remove "async defer" from <script> because they depend on each other
This commit is contained in:
commit
504f53d794
@ -35,7 +35,7 @@
|
|||||||
var mapArea = <?= $bounds->calculateApproximateArea() ?>;
|
var mapArea = <?= $bounds->calculateApproximateArea() ?>;
|
||||||
var guessMapBounds = <?= $bounds->toJson() ?>;
|
var guessMapBounds = <?= $bounds->toJson() ?>;
|
||||||
</script>
|
</script>
|
||||||
<script src="static/js/mapguesser.js" async defer></script>
|
<script src="static/js/mapguesser.js"></script>
|
||||||
<script src="https://maps.googleapis.com/maps/api/js?key=<?= $_ENV['GOOGLE_MAPS_JS_API_KEY'] ?>&callback=initialize" async defer></script>
|
<script src="https://maps.googleapis.com/maps/api/js?key=<?= $_ENV['GOOGLE_MAPS_JS_API_KEY'] ?>&callback=initialize"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user