From 366215f4a7993bd50488908caf3b6c9570ec3123 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 12 Jun 2015 04:08:23 +0000 Subject: [PATCH] * fix chinese mainland language code --- website/getting-started/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/getting-started/index.js b/website/getting-started/index.js index 5682fb20..f7ddca3c 100644 --- a/website/getting-started/index.js +++ b/website/getting-started/index.js @@ -49,7 +49,7 @@ function getData() { }] var links = location.hash.length > 0 - var youtube = navigator.language != 'zh-cn' // YouTube is blocked in China (mainland) + var youtube = navigator.language != 'zh-CN' // YouTube is blocked in China (mainland) if (links) { data = data.slice(0, 5) // use only tutorial images