mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 07:10:46 -05:00
Properly close and hide the Rooms room when you click Hide
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user