스크롤 이벤트 수정

main
이범준 12 months ago
parent 6cb55ab585
commit fa8c37392b

@ -660,8 +660,10 @@ $(document).ready(function(){
return; return;
} }
if((el[0].scrollHeight - el.scrollTop() + VERTICAL_SCROLL_HEIGHT) <= el.outerHeight()){
obj.dataset.scrollStatus = "waiting"; obj.dataset.scrollStatus = "waiting";
$P.scrollInspectionDataList(); $P.scrollInspectionDataList();
}
} }

@ -215,8 +215,10 @@ $(document).ready(function(){
return; return;
} }
if((el[0].scrollHeight - el.scrollTop() + VERTICAL_SCROLL_HEIGHT) <= el.outerHeight()){
obj.dataset.scrollStatus = "waiting"; obj.dataset.scrollStatus = "waiting";
$P.scrollCrdnList(); $P.scrollCrdnList();
}
} }

@ -253,8 +253,10 @@ $(document).ready(function(){
return; return;
} }
if((el[0].scrollHeight - el.scrollTop() + VERTICAL_SCROLL_HEIGHT) <= el.outerHeight()){
obj.dataset.scrollStatus = "waiting"; obj.dataset.scrollStatus = "waiting";
$P.scrollCrdnList(); $P.scrollCrdnList();
}
} }

@ -393,10 +393,13 @@ $(document).ready(function(){
return; return;
} }
if((el[0].scrollHeight - el.scrollTop() + VERTICAL_SCROLL_HEIGHT) <= el.outerHeight()){
obj.dataset.scrollStatus = "waiting"; obj.dataset.scrollStatus = "waiting";
$P.scrollCrdnList(); $P.scrollCrdnList();
} }
}
$P.scrollCrdnList = () => { $P.scrollCrdnList = () => {
$P.crdnControl.load($P.crdnControl.query.pageNum + 1); $P.crdnControl.load($P.crdnControl.query.pageNum + 1);
} }

@ -310,8 +310,10 @@ $(document).ready(function(){
return; return;
} }
if((el[0].scrollHeight - el.scrollTop() + VERTICAL_SCROLL_HEIGHT) <= el.outerHeight()){
obj.dataset.scrollStatus = "waiting"; obj.dataset.scrollStatus = "waiting";
$P.scrollExmptnVhclList(); $P.scrollExmptnVhclList();
}
} }

@ -371,8 +371,10 @@ $(document).ready(function(){
return; return;
} }
if((el[0].scrollHeight - el.scrollTop() + VERTICAL_SCROLL_HEIGHT) <= el.outerHeight()){
obj.dataset.scrollStatus = "waiting"; obj.dataset.scrollStatus = "waiting";
$P.scrollCrdnList(); $P.scrollCrdnList();
}
} }

@ -397,8 +397,10 @@ $(document).ready(function(){
return; return;
} }
if((el[0].scrollHeight - el.scrollTop() + VERTICAL_SCROLL_HEIGHT) <= el.outerHeight()){
obj.dataset.scrollStatus = "waiting"; obj.dataset.scrollStatus = "waiting";
$P.scrollCrdnList(); $P.scrollCrdnList();
}
} }

@ -358,8 +358,10 @@ $(document).ready(function(){
return; return;
} }
if((el[0].scrollHeight - el.scrollTop() + VERTICAL_SCROLL_HEIGHT) <= el.outerHeight()){
obj.dataset.scrollStatus = "waiting"; obj.dataset.scrollStatus = "waiting";
$P.scrollCrdnList(); $P.scrollCrdnList();
}
} }

@ -306,9 +306,10 @@ $(document).ready(function(){
if(el.scrollTop() == 0){ if(el.scrollTop() == 0){
return; return;
} }
if((el[0].scrollHeight - el.scrollTop() + VERTICAL_SCROLL_HEIGHT) <= el.outerHeight()){
obj.dataset.scrollStatus = "waiting"; obj.dataset.scrollStatus = "waiting";
$P.scrollDmndList(); $P.scrollDmndList();
}
} }

@ -254,8 +254,10 @@ $(document).ready(function(){
return; return;
} }
if((el[0].scrollHeight - el.scrollTop() + VERTICAL_SCROLL_HEIGHT) <= el.outerHeight()){
obj.dataset.scrollStatus = "waiting"; obj.dataset.scrollStatus = "waiting";
$P.scrollRductList(); $P.scrollRductList();
}
} }

Loading…
Cancel
Save