diff --git a/src/main/frontend/ui.cljs b/src/main/frontend/ui.cljs index 07d80a4581..26690a84a1 100644 --- a/src/main/frontend/ui.cljs +++ b/src/main/frontend/ui.cljs @@ -443,7 +443,7 @@ (bottom-reached? node threshold)) top-reached? (= scroll-top 0) down? (scroll-down?)] - (when (and down? bottom-reached? on-load) + (when (and bottom-reached? on-load) (on-load)) (when (and (not down?) top-reached? on-top-reached) (on-top-reached))))