Properly close and hide the Rooms room when you click Hide

This commit is contained in:
urkerab
2015-12-25 13:03:09 +00:00
parent c0676957a9
commit 6f040fcf76

View File

@@ -91,14 +91,8 @@
app.addPopup(BattleListPopup);
},
closeHide: function () {
app.sideRoom = app.curSideRoom = null;
this.close();
if (app.curSideRoom) {
app.curSideRoom.hide();
app.curSideRoom = null;
}
app.curRoom.show('full');
app.topbar.updateTabbar();
if (app.rooms['']) app.rooms[''].updateRightMenu();
},
finduser: function () {
app.addPopupPrompt("Username", "Open", function (target) {