|
@ -4,7 +4,6 @@ $(document).ready(function () {
|
4
|
4
|
var imgUrl = "";
|
5
|
5
|
var timerset;
|
6
|
6
|
var oflag = false;
|
7
|
|
var pd = false;
|
8
|
7
|
loginStatus();
|
9
|
8
|
$(".list_body").niceScroll({
|
10
|
9
|
cursorcolor: "#999999"
|
|
@ -130,7 +129,6 @@ $(document).ready(function () {
|
130
|
129
|
document.addEventListener("error", ci, true );
|
131
|
130
|
|
132
|
131
|
$(".list_body").on("click", ".list_item", function () {
|
133
|
|
pd = true;
|
134
|
132
|
oflag = true;
|
135
|
133
|
if(timerset) {
|
136
|
134
|
clearInterval(timerset);
|
|
@ -163,7 +161,7 @@ $(document).ready(function () {
|
163
|
161
|
getPlatName(objp.pid)
|
164
|
162
|
timerset=setInterval(function() {
|
165
|
163
|
angleMessageList(dataobj);
|
166
|
|
},5000)
|
|
164
|
},7000)
|
167
|
165
|
});
|
168
|
166
|
function getPlatName(pid) {
|
169
|
167
|
$.ajax({
|
|
@ -287,11 +285,8 @@ function getTotalMessage() {
|
287
|
285
|
'</div>'
|
288
|
286
|
$(".chat_body_list").append(oStr);
|
289
|
287
|
}
|
290
|
|
if (pd) {
|
291
|
288
|
$(".chat_body.clearfix").getNiceScroll().hide().show().resize();
|
292
|
289
|
$(".chat_body.clearfix").getNiceScroll(0).doScrollTop($(".chat_body_list").height(), 100);
|
293
|
|
pd = false;
|
294
|
|
}
|
295
|
290
|
}
|
296
|
291
|
}
|
297
|
292
|
},
|