Cable-Desktop/js/views/conversation_list_view.js
lilia f764445c86 Remove erroneous license file and headers
We only use GPLV3 around here.

// FREEBIE
2015-09-07 14:58:42 -07:00

20 lines
511 B
JavaScript

/*
* vim: ts=4:sw=4:expandtab
*/
(function () {
'use strict';
window.Whisper = window.Whisper || {};
Whisper.ConversationListView = Whisper.ListView.extend({
tagName: 'div',
itemView: Whisper.ConversationListItemView,
events: {
'click .contact': 'select',
},
select: function(e) {
var target = $(e.target).closest('.contact');
target.siblings().removeClass('selected');
return false;
}
});
})();