Browse Source

Fix empty selection in WebUI language combobox

This mostly happens with a clean install.

PR #16978.
adaptive-webui-19844
Chocobo1 3 years ago committed by GitHub
parent
commit
2a6f02fa29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/webui/www/private/views/preferences.html

2
src/webui/www/private/views/preferences.html

@ -1900,7 +1900,7 @@ @@ -1900,7 +1900,7 @@
// Web UI tab
// Language
$('locale_select').setProperty('value', pref.locale);
$('locale_select').setProperty('value', ((pref.locale === "en_US") ? "en" : pref.locale));
$('performanceWarning').setProperty('checked', pref.performance_warning);
// HTTP Server

Loading…
Cancel
Save