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>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
{% endblock %}
|
||||||
<script>
|
<script>
|
||||||
document.querySelectorAll('.delete').forEach(btn => btn.addEventListener('click', event => event.target.parentElement.remove()));
|
document.querySelectorAll('.delete').forEach(btn => btn.addEventListener('click', event => event.target.parentElement.remove()));
|
||||||
document.querySelectorAll('.navbar-burger').forEach(el => el.addEventListener('click', () => {
|
document.querySelectorAll('.navbar-burger').forEach(el => el.addEventListener('click', () => {
|
||||||
|
@ -167,6 +168,5 @@
|
||||||
}, false);
|
}, false);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue