Remove defer attribute from tooltip scripts
This commit is contained in:
parent
fe3a4e3d36
commit
e62d83e242
|
@ -57,7 +57,7 @@
|
||||||
</main>
|
</main>
|
||||||
{% block footer %}{% include "global/footer.njk" %}{% endblock %}
|
{% block footer %}{% include "global/footer.njk" %}{% endblock %}
|
||||||
{% if hasTooltips %}
|
{% if hasTooltips %}
|
||||||
<script src="{{'/assets/js/tooltips.js' | url | safe}}" defer></script>
|
<script src="{{'/assets/js/tooltips.js' | url | safe}}"></script>
|
||||||
<script>
|
<script>
|
||||||
var selector = '[data-tooltip]';
|
var selector = '[data-tooltip]';
|
||||||
var els = document.querySelectorAll(selector);
|
var els = document.querySelectorAll(selector);
|
||||||
|
|
Loading…
Reference in New Issue