Projet

Général

Profil

0001-templates-mark-some-support-js-scripts-to-be-loaded-.patch

Frédéric Péters, 16 juillet 2018 21:42

Télécharger (1,36 ko)

Voir les différences:

Subject: [PATCH] templates: mark some support js scripts to be loaded
 asynchronously (#25299)

 templates/combo/page_template.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
templates/combo/page_template.html
16 16
{% endblock %}
17 17

  
18 18
{% block extra_scripts %}
19
<script src="{{site_base}}{% static 'js/combo.public.js' %}?{{statics_hash}}"></script>
20
<script src="{{site_base}}{% static 'js/combo.back.js' %}?{{statics_hash}}"></script>
19
<script src="{{site_base}}{% static 'js/combo.public.js' %}?{{statics_hash}}" async></script>
20
<script src="{{site_base}}{% static 'js/combo.back.js' %}?{{statics_hash}}" async></script>
21 21
<script src="{{site_base}}/__services.js"></script>
22 22
{% if not no_extra_js %}
23
<script src="{{site_base}}{% static "" %}{{css_variant}}/extra.js?{{statics_hash}}"></script>
23
<script src="{{site_base}}{% static "" %}{{css_variant}}/extra.js?{{statics_hash}}" async></script>
24 24
{% endif %}
25 25
{% skeleton_extra_placeholder extra-head %}
26 26
{% end_skeleton_extra_placeholder %}
27
-