Also run login javascript when page is loaded

This commit is contained in:
Yohan Boniface 2023-12-29 16:11:08 +01:00
parent 2d111438c2
commit d65b9f25c1

View file

@ -38,6 +38,7 @@
{% block bottom_js %}
{{ block.super }}
<script type="text/javascript">
window.addEventListener('load', (event) => {
!(function () {
const ui = new L.U.UI(document.querySelector('header'))
const xhr = new L.U.Xhr(ui)
@ -85,6 +86,7 @@
L.DomEvent.on(more, 'click', getMore, more)
}
})(this)
})
</script>
{% endblock bottom_js %}
{% block footer %}