fade after set

This commit is contained in:
j 2023-08-12 16:30:51 +02:00
parent 8e0fe20c30
commit 6d7e2192fd

View file

@ -218,8 +218,10 @@ pandora.ui.home = function() {
click: function() {
var value = "tr"
pandora.UI.set({locale: value});
pandora.setLocale(value, pandora.$ui.appPanel.reload);
that.fadeOutScreen();
pandora.setLocale(value, () = {
pandora.$ui.appPanel.reload()
that.fadeOutScreen();
};
}
}),
@ -234,8 +236,10 @@ pandora.ui.home = function() {
click: function() {
var value = "en"
pandora.UI.set({locale: value});
pandora.setLocale(value, pandora.$ui.appPanel.reload);
that.fadeOutScreen();
pandora.setLocale(value, () => {
pandora.$ui.appPanel.reload()
that.fadeOutScreen();
});
}
}),