2
0
Fork 0

fix: include scripts on every page rendered from base template
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2024-05-25 02:13:15 +02:00
parent 32f87ea9e5
commit 0679a1cc01
1 changed files with 1 additions and 1 deletions

View File

@ -140,6 +140,7 @@
</div>
</div>
</footer>
{% endblock %}
<script>
document.querySelectorAll('.delete').forEach(btn => btn.addEventListener('click', event => event.target.parentElement.remove()));
document.querySelectorAll('.navbar-burger').forEach(el => el.addEventListener('click', () => {
@ -167,6 +168,5 @@
}, false);
});
</script>
{% endblock %}
</body>
</html>