« get me outta code hell

fix defaultLanguage crash - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-05-23 11:11:41 -0300
committer(quasar) nebula <qznebula@protonmail.com>2022-05-23 11:11:41 -0300
commit71eb6ecb8e9b2e4bf0a34fb0726a75d638da50d0 (patch)
treec56047643f8744758d4d8457c8a789a930c5ca2f
parentcaba536171879628837ce2647283526295d4b564 (diff)
fix defaultLanguage crash
-rwxr-xr-xsrc/upd8.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upd8.js b/src/upd8.js
index 3294ba73..b2f5aa0b 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -1689,7 +1689,7 @@ async function main() {
         }
         return;
     } else {
-        languages[defaultLanguage.code] = internalDefaultLanguage;
+        languages[internalDefaultLanguage.code] = internalDefaultLanguage;
         finalDefaultLanguage = internalDefaultLanguage;
     }