mirror of
https://github.com/umap-project/umap.git
synced 2025-05-06 06:21:49 +02:00
Also run login javascript when page is loaded
This commit is contained in:
parent
2d111438c2
commit
d65b9f25c1
1 changed files with 46 additions and 44 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue