|
|
|
@ -194,7 +194,7 @@ $(function() { |
|
|
|
if (!targetLang || targetLang === defaultLang) { |
|
|
|
path = rest ? `/${rest}` : "/"; |
|
|
|
} else { |
|
|
|
path = rest ? `/${targetLang}/${rest}` : `/${targetLang}/`; |
|
|
|
path = rest ? `/${targetLang}/${rest}` : `/${targetLang}`; |
|
|
|
} |
|
|
|
return path + location.search + location.hash; |
|
|
|
}; |
|
|
|
|