Browse Source

updated language settings

hareha 4 years ago
parent
commit
c285c43b74
1 changed files with 2 additions and 1 deletions
  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 ) {