Determine country rules by enclosing boundary
This commit is contained in:
parent
3037fb8f17
commit
b5d87fe8d1
3 changed files with 132 additions and 82 deletions
|
|
@ -150,6 +150,10 @@ BR.Util = {
|
|||
}
|
||||
|
||||
// fallback when country not available
|
||||
return lang[0] === language;
|
||||
if (language) {
|
||||
return lang[0] === language;
|
||||
}
|
||||
|
||||
return false;
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue