스크롤 이벤트 수정

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

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

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

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

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

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

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

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

@ -357,9 +357,11 @@ $(document).ready(function(){
if(el.scrollTop() == 0){ if(el.scrollTop() == 0){
return; return;
} }
obj.dataset.scrollStatus = "waiting"; if((el[0].scrollHeight - el.scrollTop() + VERTICAL_SCROLL_HEIGHT) <= el.outerHeight()){
$P.scrollCrdnList(); obj.dataset.scrollStatus = "waiting";
$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();
}
} }

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

Loading…
Cancel
Save