|
|
@ -50,9 +50,14 @@ define('components', function () {
|
|
|
|
'chat/message': function (messageId) {
|
|
|
|
'chat/message': function (messageId) {
|
|
|
|
return $('[component="chat/message"][data-mid="' + messageId + '"]');
|
|
|
|
return $('[component="chat/message"][data-mid="' + messageId + '"]');
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
'chat/message/body': function (messageId) {
|
|
|
|
'chat/message/body': function (messageId) {
|
|
|
|
return $('[component="chat/message"][data-mid="' + messageId + '"] [component="chat/message/body"]');
|
|
|
|
return $('[component="chat/message"][data-mid="' + messageId + '"] [component="chat/message/body"]');
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
'chat/recent/room': function (roomid) {
|
|
|
|
|
|
|
|
return $('[component="chat/recent/room"][data-roomid="' + roomid + '"]');
|
|
|
|
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
components.get = function () {
|
|
|
|
components.get = function () {
|
|
|
|