This commit is contained in:
barisusakli
2014-05-12 18:42:13 -04:00
parent fc00586f0e
commit c5d9a68b4b
7 changed files with 43 additions and 5 deletions

16
public/src/forum/chats.js Normal file
View File

@@ -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;
});