make sure the chat pane is closed for opening the next map

This commit is contained in:
Connor Turland 2016-01-26 15:29:32 +13:00
parent 1fa84e0d29
commit 8e07c10ecc

View file

@ -2066,6 +2066,7 @@ Metamaps.Realtime = {
self.status = false; self.status = false;
self.room.leave(); self.room.leave();
self.room.chat.$container.hide(); self.room.chat.$container.hide();
self.room.chat.close();
self.videosInPosition = 1; self.videosInPosition = 1;
}, },
reenableRealtime: function() { reenableRealtime: function() {