mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17:50 +02:00
Replace \t with spaces in base.html
This commit is contained in:
@@ -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 %}
|
||||||
|
Reference in New Issue
Block a user