@@ -71,7 +71,7 @@ var chatAPI =
|
|||||||
elmnt.scrollTop = elmnt.scrollHeight - elmnt.clientHeight;
|
elmnt.scrollTop = elmnt.scrollHeight - elmnt.clientHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!chat.enabled) { elmnt.scrollTo(0, elmnt.scrollHeight); }
|
// if (!chat.enabled) { elmnt.scrollTo(0, elmnt.scrollHeight); }
|
||||||
} else {
|
} else {
|
||||||
chat.container.append(chatElement);
|
chat.container.append(chatElement);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user