Authored by 李奇

fixed:发送消息倒计时清除

... ... @@ -177,10 +177,10 @@ function systemTip(type, msg) {
* 发送消息前的共通处理
*/
function beforeSendMsg() {
var $list = $('.list-item');
var $list = $('.countdown');
$.each($list, function (index, item) {
$(item).find('.countdown').remove();
$(item).parent('.list-item').remove();
});
if(titleInterval) {
... ... @@ -191,6 +191,9 @@ function beforeSendMsg() {
/**
* 处理发送消息
* @param e
* @param msgType
* @param msgContent
*/
function sendMessage(e, msgType, msgContent) {
var $area = $('.msg-area'),
... ... @@ -259,10 +262,11 @@ function toggleAnswer(e) {
}
/**
* 人工客服
* 人工客服 s
*/
function manualService() {
socketConfCM.type = allRTs.MANUAL_SERVICE;
console.log(socketConfCM)
socketChat.send(socketConfCM);
}
... ...