First signs of WebView working.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4213 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-03-11 02:37:27 +00:00
parent 12a8b7a058
commit f74f4f6da9
4 changed files with 39 additions and 8 deletions

View File

@ -791,6 +791,11 @@ async function loadSettings() {
} catch (error) {
print("Settings not found in database:", error);
}
for (let [key, value] of Object.entries(k_global_settings)) {
if (data[key] === undefined) {
data[key] = value.default_value;
}
}
gGlobalSettings = data;
}