This commit is contained in:
arcan1s
2015-08-08 23:27:19 +03:00
parent eb62296aba
commit 48bad5e153
2 changed files with 15 additions and 15 deletions

View File

@ -34,7 +34,7 @@ title: arcanis' homepage
if (window.location.replace) window.location.replace(dest)
else window.location=dest
}
if (document.referrer != "{{ site.url }}ru/") {
if (document.referrer != "{{ site.url }}/ru/") {
var languageinfo=navigator.language? navigator.language : navigator.userLanguage
if (languageinfo.substr(0,2) == "ru") redirectpage("/ru/")
}