Skip to content

Commit f413843

Browse files
authored
стилистика
1 parent da357c6 commit f413843

File tree

1 file changed

+1
-1
lines changed
  • 2-ui/3-event-details/8-onscroll/1-endless-page

1 file changed

+1
-1
lines changed

2-ui/3-event-details/8-onscroll/1-endless-page/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function populate() {
5555
// нижняя граница документа
5656
let windowRelativeBottom = document.documentElement.getBoundingClientRect().bottom;
5757

58-
// если до конца страницы достаточно далеко (>100px до конца) - прерываем цикл;
58+
// если пользователь не прокрутил достаточно далеко (>100px до конца страницы) — прерываем цикл
5959
if (windowRelativeBottom > document.documentElement.clientHeight + 100) {
6060
break;
6161
}

0 commit comments

Comments
 (0)