Skip to content
Snippets Groups Projects
Unverified Commit eb69fc6a authored by Marcelo Schmidt's avatar Marcelo Schmidt
Browse files

Fix error when typing on a recently opened room

parent e3ea8fbf
No related branches found
No related tags found
No related merge requests found
......@@ -98,8 +98,9 @@ Template.messageBox.events
RoomHistoryManager.getRoom(@_id).loaded = undefined
RoomManager.computation.invalidate()
'focus .input-message': (event) ->
'focus .input-message': (event, instance) ->
KonchatNotification.removeRoomNotification @_id
chatMessages[@_id].input = instance.find('.input-message')
'click .send-button': (event, instance) ->
input = instance.find('.input-message')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment