Remove defer from script where type=module is used

This commit is contained in:
2024-11-19 15:16:23 +01:00
committed by Bartuccio Antoine
parent 8a8851847c
commit 0485ab1120
12 changed files with 19 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
{% extends "core/base.jinja" %}
{% block additional_js %}
{% if settings.SENTRY_DSN %}
<script src="{{ static('bundled/sentry-popup-index.ts') }}" defer ></script>
<script type="module" src="{{ static('bundled/sentry-popup-index.ts') }}"></script>
{% endif %}
{% endblock additional_js %}