diff --git a/javascript/LangSelector.js b/javascript/LangSelector.js index 36353082..ba7bfc0a 100755 --- a/javascript/LangSelector.js +++ b/javascript/LangSelector.js @@ -15,7 +15,7 @@ LangSelectorClass.prototype = { onchange: function(e, val) { if(this.value != _TRANSLATING_LANG) { _TRANSLATING_LANG = this.value; - document.location = 'admin/?locale=' + this.value; + document.location = baseHref() + 'admin/?locale=' + this.value; } },