mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-16 23:21:52 +03:00
tab vs spaces
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user