diff --git a/js/client-rooms.js b/js/client-rooms.js index ae160e2f5..95cb0d2bf 100644 --- a/js/client-rooms.js +++ b/js/client-rooms.js @@ -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) {