Skip to content

Commit

Permalink
Move scripts inside <body> tag (PokemonGoF#1027)
Browse files Browse the repository at this point in the history
  • Loading branch information
benwaffle authored and CarlTaylor1989 committed Jul 22, 2016
1 parent d7f4af9 commit 2aa11dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion templates/elements.html
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ <h3>Faucibus</h3>
</nav>
</div>

<!-- Scripts -->
<!-- Scripts -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/skel/3.0.1/skel.min.js"></script>
<script src="app/js/app.js"></script>
<script src="app/js/classie.js"></script>
Expand Down
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 2aa11dc

Please sign in to comment.