fixed starting a private chat via clicking on the name in Options

This commit is contained in:
Anton Georgiev 2014-10-07 23:16:47 +00:00
parent da846ac2d5
commit 76a7e34357

View File

@ -147,7 +147,7 @@ Handlebars.registerHelper "autoscroll", ->
Template.optionsBar.events
'click .private-chat-user-entry': (event) -> # clicked a user's name to begin private chat
setInSession 'display_chatPane', true
setInSession "inChatWith", @userId
setInSession "inChatWith", @_id
Template.optionsBar.rendered = ->
$('div[rel=tooltip]').tooltip()