More typechecks and comments

This commit is contained in:
Cohee
2023-08-22 14:30:49 +03:00
parent e2bac7ec5f
commit 9deaec5877
10 changed files with 144 additions and 129 deletions

View File

@@ -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);