forked from ScoDoc/ScoDoc
Use local copy of moment.js and no external CDN (perf & privacy)
This commit is contained in:
parent
ded27f1287
commit
c2d3c02bf3
@ -83,7 +83,7 @@
|
|||||||
|
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
{{ moment.include_moment() }}
|
{{ moment.include_moment( local_js=scu.STATIC_DIR+"/libjs/moment.min.js") }}
|
||||||
{{ moment.lang(g.locale) }}
|
{{ moment.lang(g.locale) }}
|
||||||
<script src="{{scu.STATIC_DIR}}/libjs/menu.js"></script>
|
<script src="{{scu.STATIC_DIR}}/libjs/menu.js"></script>
|
||||||
<script src="{{scu.STATIC_DIR}}/libjs/bubble.js"></script>
|
<script src="{{scu.STATIC_DIR}}/libjs/bubble.js"></script>
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
{{ moment.include_moment() }}
|
{{ moment.include_moment( local_js=scu.STATIC_DIR+"/libjs/moment.min.js") }}
|
||||||
{{ moment.lang(g.locale) }}
|
{{ moment.lang(g.locale) }}
|
||||||
<script src="{{scu.STATIC_DIR}}/libjs/menu.js"></script>
|
<script src="{{scu.STATIC_DIR}}/libjs/menu.js"></script>
|
||||||
<script src="{{scu.STATIC_DIR}}/libjs/bubble.js"></script>
|
<script src="{{scu.STATIC_DIR}}/libjs/bubble.js"></script>
|
||||||
|
Loading…
Reference in New Issue
Block a user