Cleaned up
parent
ea72e857f3
commit
04a658b65a
|
@ -2,7 +2,6 @@
|
||||||
/* global navigator $ socket userid token mapuser toggleMaps */
|
/* global navigator $ socket userid token mapuser toggleMaps */
|
||||||
|
|
||||||
$(function(){
|
$(function(){
|
||||||
|
|
||||||
var wpid, newloc;
|
var wpid, newloc;
|
||||||
|
|
||||||
// Set location
|
// Set location
|
||||||
|
|
|
@ -105,12 +105,9 @@
|
||||||
token = "{{user.sk32 |safe}}";
|
token = "{{user.sk32 |safe}}";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- google maps API -->
|
<!-- Webpacked bundles -->
|
||||||
<!--<script type="application/javascript" src="https://maps.googleapis.com/maps/api/js?key={{mapApi}}&callback=gmapsCb" async defer></script>-->
|
|
||||||
<!-- webpacked javascript -->
|
|
||||||
<script type="application/javascript" src="/static/js/dist/map.js"></script>
|
<script type="application/javascript" src="/static/js/dist/map.js"></script>
|
||||||
{% if user.id == mapuser.id %}
|
{% if user.id == mapuser.id %}
|
||||||
<!-- client-side controls javascript -->
|
|
||||||
<script type="application/javascript" src="/static/js/dist/controls.js"></script>
|
<script type="application/javascript" src="/static/js/dist/controls.js"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue