Replace \t with spaces in base.html

This commit is contained in:
2023-10-28 09:29:11 +02:00
parent 86589ad718
commit 7ec8baf733

View File

@@ -115,19 +115,19 @@
}) })
})() })()
</script> </script>
<script> <script>
document.addEventListener('DOMContentLoaded', function () { document.addEventListener('DOMContentLoaded', function () {
var selectElement = document.getElementById('tabSelector'); var selectElement = document.getElementById('tabSelector');
selectElement.addEventListener('change', function () { selectElement.addEventListener('change', function () {
var selectedTabId = this.value; var selectedTabId = this.value;
var tabs = document.querySelectorAll('.tab-pane'); var tabs = document.querySelectorAll('.tab-pane');
tabs.forEach(function (tab) { tabs.forEach(function (tab) {
tab.classList.remove('show', 'active'); tab.classList.remove('show', 'active');
}); });
document.getElementById(selectedTabId).classList.add('show', 'active'); document.getElementById(selectedTabId).classList.add('show', 'active');
}); });
}); });
</script> </script>
{% block extra_head %} {% block extra_head %}
{{ site_conf.extra_head | safe }} {{ site_conf.extra_head | safe }}
{% endblock %} {% endblock %}