소스 검색

updated language settings

hareha 4 년 전
부모
커밋
c285c43b74
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      docs/index.html

+ 2 - 1
docs/index.html

@@ -33,6 +33,7 @@
 						<option value="en">en</option>
 						<option value="ar">ar</option>
 						<option value="zh">中文</option>
+						<option value="kr">한국어</option>
 					</select>
 				</div>
 				<div id="content"></div>
@@ -72,7 +73,7 @@
 
 			if ( /^(api|manual|examples)/.test( hash ) ) {
 
-				const hashLanguage = /^(api|manual|examples)\/(en|ar|zh)\//.exec( hash );
+				const hashLanguage = /^(api|manual|examples)\/(en|ar|zh|kr)\//.exec( hash );
 
 				if ( hashLanguage === null ) {