fade after set
This commit is contained in:
parent
8e0fe20c30
commit
6d7e2192fd
1 changed files with 8 additions and 4 deletions
|
@ -218,8 +218,10 @@ pandora.ui.home = function() {
|
||||||
click: function() {
|
click: function() {
|
||||||
var value = "tr"
|
var value = "tr"
|
||||||
pandora.UI.set({locale: value});
|
pandora.UI.set({locale: value});
|
||||||
pandora.setLocale(value, pandora.$ui.appPanel.reload);
|
pandora.setLocale(value, () = {
|
||||||
|
pandora.$ui.appPanel.reload()
|
||||||
that.fadeOutScreen();
|
that.fadeOutScreen();
|
||||||
|
};
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
@ -234,8 +236,10 @@ pandora.ui.home = function() {
|
||||||
click: function() {
|
click: function() {
|
||||||
var value = "en"
|
var value = "en"
|
||||||
pandora.UI.set({locale: value});
|
pandora.UI.set({locale: value});
|
||||||
pandora.setLocale(value, pandora.$ui.appPanel.reload);
|
pandora.setLocale(value, () => {
|
||||||
|
pandora.$ui.appPanel.reload()
|
||||||
that.fadeOutScreen();
|
that.fadeOutScreen();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue