fix: include scripts on every page rendered from base template
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
32f87ea9e5
commit
0679a1cc01
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue