We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da357c6 commit f413843Copy full SHA for f413843
2-ui/3-event-details/8-onscroll/1-endless-page/solution.md
@@ -55,7 +55,7 @@ function populate() {
55
// нижняя граница документа
56
let windowRelativeBottom = document.documentElement.getBoundingClientRect().bottom;
57
58
- // если до конца страницы достаточно далеко (>100px до конца) - прерываем цикл;
+ // если пользователь не прокрутил достаточно далеко (>100px до конца страницы) — прерываем цикл
59
if (windowRelativeBottom > document.documentElement.clientHeight + 100) {
60
break;
61
}
0 commit comments