mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-28 00:18:45 +03:00
tab vs spaces
This commit is contained in:
parent
5a21c4d7f6
commit
53f3b4b2c1
@ -287,7 +287,7 @@
|
|||||||
|
|
||||||
function trans(key) {
|
function trans(key) {
|
||||||
var matchLang = location.search.match(/lang=([a-z]+)/);
|
var matchLang = location.search.match(/lang=([a-z]+)/);
|
||||||
var queryLang = matchLang ? matchLang[1] : null;
|
var queryLang = matchLang ? matchLang[1] : null;
|
||||||
var locale = queryLang || navigator.language || navigator.userLanguage;
|
var locale = queryLang || navigator.language || navigator.userLanguage;
|
||||||
var translations = getTranslations();
|
var translations = getTranslations();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user