1
0
forked from ScoDoc/ScoDoc

Use local copy of moment.js and no external CDN (perf & privacy)

This commit is contained in:
Emmanuel Viennet 2023-09-04 07:35:02 +02:00
parent ded27f1287
commit c2d3c02bf3
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@
{% block scripts %}
{{ super() }}
{{ moment.include_moment() }}
{{ moment.include_moment( local_js=scu.STATIC_DIR+"/libjs/moment.min.js") }}
{{ moment.lang(g.locale) }}
<script src="{{scu.STATIC_DIR}}/libjs/menu.js"></script>
<script src="{{scu.STATIC_DIR}}/libjs/bubble.js"></script>

View File

@ -39,7 +39,7 @@
{% block scripts %}
{{ super() }}
{{ moment.include_moment() }}
{{ moment.include_moment( local_js=scu.STATIC_DIR+"/libjs/moment.min.js") }}
{{ moment.lang(g.locale) }}
<script src="{{scu.STATIC_DIR}}/libjs/menu.js"></script>
<script src="{{scu.STATIC_DIR}}/libjs/bubble.js"></script>