mirror of
https://github.com/flarum/framework.git
synced 2025-01-30 22:38:43 +08:00
Simple forum software for building great communities.
35e7876f09
Followup to https://github.com/flarum/core/pull/2524. In that PR, we fixed infinite scroll for the panel, but accidentially used document.body. Since scrollTop on body is (almost always) 0, this means that new pages of notifications were loaded on every scroll, which quickly becomes overwhelming. Instead, we can use `document.documentElement` for getting scrollTop, which results in the expected behavior. |
||
---|---|---|
framework/core |