Alexander Skvortsov 49009d268f NotificationList: Fix load on mobile
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.
2021-02-23 14:21:18 -05:00
..
2021-02-23 14:21:18 -05:00
2018-06-20 13:20:31 +09:30
2018-06-20 13:20:31 +09:30
2021-01-19 17:30:03 -05:00