diff --git a/media/script.js b/media/script.js index 0a42e43..d1d4d54 100644 --- a/media/script.js +++ b/media/script.js @@ -97,7 +97,7 @@ window.setStringForLang = setStringForLang; function loadPanelFor(id) { let cur = document.getElementById('lang-select').value; document.querySelector('.panel').innerHTML = `
${getStringForLang(main, id)}
+${getStringForLang(main??Object.keys(data)[0], id)}