Commit 18edd244 by Lee Munkyeong

最大ページング修正。

parent fb36fabd
......@@ -3,7 +3,7 @@ window.onscroll = function () {
beforeScroll = window.scrollY;
var beforeHeight = $(".room_container").height();
messageCount = $(".chat_message").length;
if ($(this).scrollTop() === 0 && messageCount >= PagingSize.MESAGE) {
if ($(this).scrollTop() === 0 && messageCount >= PagingSize.MESSAGE) {
if (!$("#chatLoader").is(":visible")) {
let loader = $(
'<div id="chatLoader" class="text-center"><div class="spinner-grow spinner-grow-sm" role="status" /></div>'
......
......@@ -55,7 +55,7 @@ const HostRequestFlag = {
};
const PagingSize = {
MESAGE: 20
MESSAGE: 100
};
const messageSeperator = "<::split>";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment