framework/js
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
..
dist Bundled output for commit 71ccdc00e6 [skip ci] 2021-02-18 23:46:54 +00:00
src NotificationList: Fix load on mobile 2021-02-23 14:21:18 -05:00
.prettierrc.json Configure prettier via JSON file 2020-04-17 10:44:36 +02:00
admin.js Webpack (#1367) 2018-06-20 13:20:31 +09:30
forum.js Webpack (#1367) 2018-06-20 13:20:31 +09:30
package-lock.json Bring m.attrs.bidi in as a util 2021-01-19 17:30:03 -05:00
package.json Bring m.attrs.bidi in as a util 2021-01-19 17:30:03 -05:00
shims.d.ts Remove Mithril namespace export from shims.d.ts (#2347) 2020-10-02 19:34:06 -04:00
tsconfig.json Update tsconfig file to include .tsx files (#2457) 2020-11-26 12:00:13 -05:00
webpack.config.js Initial TypeScript infrastructure (#2206) 2020-07-03 14:47:44 +02:00