Skip to content

Commit

Permalink
Move scripts inside <body> tag (PokemonGoF#1027) (PokemonGoF#1276)
Browse files Browse the repository at this point in the history
  • Loading branch information
benwaffle authored and 6iz committed Jul 22, 2016
1 parent fd0c7c2 commit 4bfc4d2
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions templates/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ <h3>Notify of Pokémon</h3>
</nav>
</div>
</div>
</body>

<!-- Scripts -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
Expand All @@ -112,17 +111,13 @@ <h3>Notify of Pokémon</h3>
<script type="text/javascript" src="static/js/vendor/classie.js"></script>
<!-- <script type="text/javascript" src="static/js/vendor/svg-overlay.js"></script> -->


<script type="text/javascript">
var center_lat = {{lat}};
var center_lng = {{lng}};
</script>

<script type="text/javascript">
var center_lat = {{lat}};
var center_lng = {{lng}};
</script>
<script type="text/javascript">
var center_lat = {{lat}};
var center_lng = {{lng}};
</script>

<script type="text/javascript" src="static/map.js"></script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key={{ gmaps_key }}&callback=initMap"></script>

</body>
</html>

0 comments on commit 4bfc4d2

Please sign in to comment.