From d615a5a18be531eb8751ead01ecd2e1a162dadf5 Mon Sep 17 00:00:00 2001 From: lilia Date: Tue, 22 Jul 2014 21:06:13 -1000 Subject: [PATCH] Let list view changes the color of selected conversations --- js/views/conversation_list_view.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/views/conversation_list_view.js b/js/views/conversation_list_view.js index 7ea57ed0ab25..9484fa5f561c 100644 --- a/js/views/conversation_list_view.js +++ b/js/views/conversation_list_view.js @@ -10,13 +10,13 @@ var Whisper = Whisper || {}; collection: Whisper.Threads, events: { - 'select .conversation': 'select', + 'click .conversation': 'select', }, select: function(e) { var target = $(e.target).closest('.conversation'); target.siblings().addClass('closed'); - target.addClass('selected').trigger('open'); + target.removeClass('closed').addClass('selected'); return false; }, });