reload the page if user selected new device

This commit is contained in:
isymchych 2015-11-11 20:03:32 +02:00
parent 12ac6427b5
commit 6807172460
1 changed files with 2 additions and 1 deletions

View File

@ -132,7 +132,8 @@ var SettingsMenu = {
}
if (deviceChanged) {
//FIXME do something
// FIXME maybe handle this in more user-friendly way
window.location.reload();
}
Avatar.setUserAvatar(APP.xmpp.myJid(), email);