fix(menu): add title to language select menu

This commit is contained in:
Jiahao Li 2024-01-02 21:08:40 +02:00
parent c19bc50000
commit b0fd869e29
No known key found for this signature in database
GPG Key ID: D1F3E8DD25167202

View File

@ -82,7 +82,7 @@
{{ with .Site.Home.AllTranslations }}
<li id="i18n-switch">
{{ partial "helper/icon" "language" }}
<select name="language" onchange="window.location.href = this.selectedOptions[0].value">
<select name="language" title="language" onchange="window.location.href = this.selectedOptions[0].value">
{{ range . }}
<option value="{{ .Permalink }}" {{ if eq .Language.Lang $currentLanguageCode }}selected{{ end }}>{{ .Language.LanguageName }}</option>
{{ end }}