closes #1445
parent
fc00586f0e
commit
c5d9a68b4b
@ -0,0 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
/* globals define, app*/
|
||||
|
||||
define(function() {
|
||||
var Chats = {};
|
||||
|
||||
Chats.init = function() {
|
||||
|
||||
$('.chats-list').on('click', 'li', function(e) {
|
||||
app.openChat($(this).attr('data-username'), $(this).attr('data-uid'));
|
||||
});
|
||||
};
|
||||
|
||||
return Chats;
|
||||
});
|
Loading…
Reference in New Issue