fix up Realtime/index.js - should be good now?
This commit is contained in:
parent
79b6f74a5c
commit
2c17c2c6a3
1 changed files with 5 additions and 6 deletions
|
@ -186,11 +186,10 @@ let Realtime = {
|
|||
})
|
||||
self.room.videoAdded(self.handleVideoAdded)
|
||||
|
||||
if (!Active.Map) {
|
||||
self.room.chat.$container.hide()
|
||||
if (Active.Map) {
|
||||
self.room.chat.addWrapper()
|
||||
self.room.chat.render()
|
||||
}
|
||||
self.room.chat.addWrapper()
|
||||
self.room.chat.render()
|
||||
} // if Active.Mapper
|
||||
},
|
||||
addJuntoListeners: function() {
|
||||
|
@ -239,14 +238,14 @@ let Realtime = {
|
|||
$('.collabCompass').remove()
|
||||
if (self.room) {
|
||||
self.room.leave()
|
||||
self.room.chat.$container.hide()
|
||||
self.room.chat.hide()
|
||||
self.room.chat.close()
|
||||
}
|
||||
},
|
||||
turnOn: function(notify) {
|
||||
var self = Realtime
|
||||
$('.collabCompass').show()
|
||||
self.room.chat.$container.show()
|
||||
self.room.chat.show()
|
||||
self.room.room = 'map-' + Active.Map.id
|
||||
self.activeMapper = {
|
||||
id: Active.Mapper.id,
|
||||
|
|
Loading…
Add table
Reference in a new issue