|
@@ -443,7 +443,7 @@
|
|
|
(bottom-reached? node threshold))
|
|
(bottom-reached? node threshold))
|
|
|
top-reached? (= scroll-top 0)
|
|
top-reached? (= scroll-top 0)
|
|
|
down? (scroll-down?)]
|
|
down? (scroll-down?)]
|
|
|
- (when (and down? bottom-reached? on-load)
|
|
|
|
|
|
|
+ (when (and bottom-reached? on-load)
|
|
|
(on-load))
|
|
(on-load))
|
|
|
(when (and (not down?) top-reached? on-top-reached)
|
|
(when (and (not down?) top-reached? on-top-reached)
|
|
|
(on-top-reached))))
|
|
(on-top-reached))))
|