Skip to content

Commit

Permalink
Replace \t with spaces in base.html
Browse files Browse the repository at this point in the history
  • Loading branch information
daniviga committed Oct 28, 2023
1 parent 86589ad commit 7ec8baf
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions ram/portal/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,19 @@
})
})()
</script>
<script>
document.addEventListener('DOMContentLoaded', function () {
var selectElement = document.getElementById('tabSelector');
selectElement.addEventListener('change', function () {
var selectedTabId = this.value;
var tabs = document.querySelectorAll('.tab-pane');
tabs.forEach(function (tab) {
tab.classList.remove('show', 'active');
});
document.getElementById(selectedTabId).classList.add('show', 'active');
});
});
</script>
<script>
document.addEventListener('DOMContentLoaded', function () {
var selectElement = document.getElementById('tabSelector');
selectElement.addEventListener('change', function () {
var selectedTabId = this.value;
var tabs = document.querySelectorAll('.tab-pane');
tabs.forEach(function (tab) {
tab.classList.remove('show', 'active');
});
document.getElementById(selectedTabId).classList.add('show', 'active');
});
});
</script>
{% block extra_head %}
{{ site_conf.extra_head | safe }}
{% endblock %}
Expand Down

0 comments on commit 7ec8baf

Please sign in to comment.