mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
More typechecks and comments
This commit is contained in:
@@ -62,7 +62,7 @@ jQuery(async () => {
|
||||
addLanguagesToDropdown();
|
||||
|
||||
$('#ui_language_select').on('change', async function () {
|
||||
const language = $(this).val();
|
||||
const language = String($(this).val());
|
||||
|
||||
if (language) {
|
||||
localStorage.setItem(storageKey, language);
|
||||
|
Reference in New Issue
Block a user