forked from Github-Mirrors/canaille
Fixed htmx initialisation
This commit is contained in:
parent
7527443649
commit
4a3adf49f8
1 changed files with 3 additions and 1 deletions
|
@ -92,7 +92,9 @@
|
|||
{% if config.get("HTMX", true) %}
|
||||
<script src="/static/htmx/htmx.min.js" defer></script>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
htmx.config.requestClass = "loading"
|
||||
})
|
||||
</script>
|
||||
{% endif %}
|
||||
<script src="/static/js/base.js" defer></script>
|
||||
|
|
Loading…
Reference in a new issue