~craftyguy/ridecasa

375227f1aa16174ec484e1a8bc7e4fdc93fa5dbf — Clayton Craft 3 years ago c52cbc1
templates/activity: add leaflet.GestureHandling to page
1 files changed, 4 insertions(+), 1 deletions(-)

M ridecasa/templates/activity/index.html
M ridecasa/templates/activity/index.html => ridecasa/templates/activity/index.html +4 -1
@@ 18,6 18,8 @@
    <script type="text/javascript" src="/static/js/jquery/jquery.flot.hover.js" nonce="{{ csp_nonce() }}"></script>
    <script type="text/javascript" src="/static/js/jquery/jquery.flot.touch.js" nonce="{{ csp_nonce() }}"></script>
    <script type="text/javascript" src="/static/js/moment-with-locales.min.js" nonce="{{ csp_nonce() }}"></script>
    <script type="text/javascript" src="/static/js/leaflet-gesture-handling.min.js" nonce="{{ csp_nonce() }}"></script>
    <link rel="stylesheet" href={{ url_for('static',filename='css/leaflet-gesture-handling.min.css') }}>
{% endblock %}

{% block content %}


@@ 164,7 166,8 @@
    zoomDelta: .75,
    zoomSnap: 0.5,
    doubleClickZoom: true,
    scrollWheelZoom: false
    scrollWheelZoom: false,
    gestureHandling: true
  });

  class Tp{