We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0450bc0 commit 636e7e7Copy full SHA for 636e7e7
1 file changed
index.html
@@ -71,6 +71,15 @@
71
document.querySelectorAll('.lang-section').forEach(el => el.style.display = 'none');
72
document.querySelectorAll('.lang-' + lang).forEach(el => el.style.display = 'block');
73
}
74
+
75
+ window.addEventListener('DOMContentLoaded', () => {
76
+ const userLang = navigator.language || navigator.userLanguage;
77
+ if (userLang.startsWith('ko')) {
78
+ switchLang('ko');
79
+ } else {
80
+ switchLang('en');
81
+ }
82
+ });
83
</script>
84
</head>
85
<body>
@@ -142,6 +151,5 @@ <h2>🌟 주요 기능</h2>
142
151
<p>문의: <a href="mailto:j4docsearch@gmail.com">j4docsearch@gmail.com</a></p>
143
152
</footer>
144
153
</div>
145
-
146
154
</body>
147
155
</html>
0 commit comments