From 8e07c10ecc0d8b89d338f019184fd3dabe4ba0da Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Tue, 26 Jan 2016 15:29:32 +1300 Subject: [PATCH] make sure the chat pane is closed for opening the next map --- app/assets/javascripts/src/Metamaps.js.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/src/Metamaps.js.erb b/app/assets/javascripts/src/Metamaps.js.erb index cc7a1871..e7a15775 100644 --- a/app/assets/javascripts/src/Metamaps.js.erb +++ b/app/assets/javascripts/src/Metamaps.js.erb @@ -2066,6 +2066,7 @@ Metamaps.Realtime = { self.status = false; self.room.leave(); self.room.chat.$container.hide(); + self.room.chat.close(); self.videosInPosition = 1; }, reenableRealtime: function() {