This commit is contained in:
Joseph Cheung 2023-02-23 12:18:52 +08:00
parent 3b4d4827cc
commit 41eeeed5c1
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,8 @@
</option> </option>
{%- for lang_id,lang_name,country_name,english_name,flag in language_codes | sort(attribute=1) -%} {%- for lang_id,lang_name,country_name,english_name,flag in language_codes | sort(attribute=1) -%}
<option value="{{ lang_id }}" {% if lang_id == current_language %}selected="selected"{% endif %}> <option value="{{ lang_id }}" {% if lang_id == current_language %}selected="selected"{% endif %}>
{% if flag %}{{ flag }} {% endif%} {{- lang_name }} {% if country_name %}({{ country_name }}) {% endif %} <!-- {% if flag %}{{ flag }} {% endif%} {{- lang_name }} {% if country_name %}({{ country_name }}) {% endif %} -->
{{- lang_name }} {% if country_name %}({{ country_name }}) {% endif %}
</option> </option>
{%- endfor -%} {%- endfor -%}
</select> </select>

View file

@ -1124,7 +1124,6 @@ let prompt = JSON.parse(document.querySelector("#prompt").textContent);
.catch((error) => { .catch((error) => {
console.error('Error:', error); console.error('Error:', error);
}); });
# document.getElementById('chat_continue').style.display="";
return; return;
} }
const { choices } = JSON.parse(result); const { choices } = JSON.parse(result);