1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-01-11 05:48:01 -05:00

* fix chinese mainland language code

This commit is contained in:
Reinhard Pointner 2015-06-12 04:30:46 +00:00
parent 10496c9619
commit 53aadcd8ae

View File

@ -49,7 +49,7 @@ function getData() {
}]
var links = location.hash.length > 0
var youtube = (/zh.CN/i).test(navigator.language) // YouTube is blocked in China (mainland)
var youtube = !(/zh(.CN)?/i).test(navigator.language) // YouTube is blocked in China (mainland)
if (links) {
data = data.slice(0, 5) // use only tutorial images