스크롤 이벤트 수정

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();
}
} }

@ -215,8 +215,10 @@ $(document).ready(function(){
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();
}
} }

@ -253,8 +253,10 @@ $(document).ready(function(){
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();
}
} }

@ -393,8 +393,11 @@ $(document).ready(function(){
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 = () => {

@ -310,8 +310,10 @@ $(document).ready(function(){
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();
}
} }

@ -371,8 +371,10 @@ $(document).ready(function(){
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();
}
} }

@ -397,8 +397,10 @@ $(document).ready(function(){
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();
}
} }

@ -358,8 +358,10 @@ $(document).ready(function(){
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();
}
} }

@ -254,8 +254,10 @@ $(document).ready(function(){
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