Skip to content

Commit

Permalink
Merge pull request #67 from SADiLaR/feature/remove-on-change-lang-switch
Browse files Browse the repository at this point in the history
remove on change event for language toggle
  • Loading branch information
OnaMosimege authored Jun 6, 2024
2 parents bfe4e4d + 1f4eb38 commit 29a4a5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<div class="language-toggle">
<form action="{% url 'set_language' %}" method="post">
{% csrf_token %}
<select class=form-select-sm name="language" onchange="this.form.submit()">
<select class=form-select-sm name="language">
{% get_current_language as LANGUAGE_CODE %}
{% get_available_languages as LANGUAGES %}
{% for lang in LANGUAGES %}
Expand Down

0 comments on commit 29a4a5d

Please sign in to comment.