* fix chinese mainland language code
This commit is contained in:
parent
2bd8ffc464
commit
366215f4a7
|
@ -49,7 +49,7 @@ function getData() {
|
||||||
}]
|
}]
|
||||||
|
|
||||||
var links = location.hash.length > 0
|
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) {
|
if (links) {
|
||||||
data = data.slice(0, 5) // use only tutorial images
|
data = data.slice(0, 5) // use only tutorial images
|
||||||
|
|
Loading…
Reference in New Issue