Skip to content

Commit 3a01c0d

Browse files
authored
Merge pull request #124 from sumocoders/defer-translation-loading
Defer the loading of the JS translations dump
2 parents 2710cdc + 73f4058 commit 3a01c0d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

templates/base.html.twig

+1-2
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,8 @@
7676
{{ include('@SumoCodersFrameworkCore/dialogs.html.twig') }}
7777

7878
{% block javascripts %}
79-
<script src="{{ url('bazinga_jstranslation_js') }}"></script>
80-
8179
{{ encore_entry_script_tags('app') }}
80+
<script src="{{ url('bazinga_jstranslation_js') }}" defer></script>
8281
{% endblock %}
8382
</body>
8483
</html>

0 commit comments

Comments
 (0)