forked from 0x2620/pandora
dont use http locale until locale can be changed in ui
This commit is contained in:
parent
aeed539fe7
commit
19b3c43808
1 changed files with 3 additions and 2 deletions
|
@ -327,8 +327,9 @@ appPanel
|
|||
});
|
||||
|
||||
// set locale and initialize url controller
|
||||
// data.locale
|
||||
pandora.setLocale(pandora.user.ui.locale || data.locale, function() {
|
||||
// data.locale is prefered language according to http header
|
||||
//pandora.setLocale(pandora.user.ui.locale || data.locale, function() {
|
||||
pandora.setLocale(pandora.user.ui.locale, function() {
|
||||
pandora.URL.init().parse(function() {
|
||||
var isHome = Ox.contains(['/', '/home'], document.location.pathname);
|
||||
if (data.browserSupported) {
|
||||
|
|
Loading…
Reference in a new issue