mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Remove defer from script where type=module is used
This commit is contained in:
@ -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 %}
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
{%- endblock -%}
|
||||
|
||||
{% block additional_js %}
|
||||
<script type="module" src="{{ static("bundled/user/family-graph-index.js") }}" defer></script>
|
||||
<script type="module" src="{{ static("bundled/user/family-graph-index.js") }}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block title %}
|
||||
|
@ -5,7 +5,7 @@
|
||||
{%- endblock -%}
|
||||
|
||||
{% block additional_js %}
|
||||
<script type="module" src="{{ static('bundled/user/pictures-index.js') }}" defer></script>
|
||||
<script type="module" src="{{ static('bundled/user/pictures-index.js') }}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block title %}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% for js in statics.js %}
|
||||
<script-once type="module" src="{{ js }}" defer></script-once>
|
||||
<script-once type="module" src="{{ js }}"></script-once>
|
||||
{% endfor %}
|
||||
{% for css in statics.css %}
|
||||
<link-once rel="stylesheet" type="text/css" href="{{ css }}" defer></link-once>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div>
|
||||
<script-once type="module" src="{{ statics.js }}" defer></script-once>
|
||||
<script-once type="module" src="{{ statics.js }}"></script-once>
|
||||
<link-once rel="stylesheet" type="text/css" href="{{ statics.css }}" defer></link-once>
|
||||
|
||||
<markdown-input name="{{ widget.name }}"{% include "django/forms/widgets/attrs.html" %}>{% if widget.value %}{{ widget.value }}{% endif %}</markdown-input>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<script-once type="module" src="{{ statics.js }}" defer></script-once>
|
||||
<script-once type="module" src="{{ statics.js }}"></script-once>
|
||||
<link-once rel="stylesheet" type="text/css" href="{{ statics.css }}" defer></link-once>
|
||||
|
||||
<span>
|
||||
|
Reference in New Issue
Block a user