]> cat aescling's git repositories - mastodon.git/commit
Fix load more feature on the Account media gallery (#3293)
authorunarist <m.unarist@gmail.com>
Thu, 25 May 2017 03:22:46 +0000 (12:22 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 25 May 2017 03:22:46 +0000 (05:22 +0200)
commit807c192fcf3a6cd0f4c712ec43130fbffddcc6c6
tree8956d82961a88cb8205e43d14a88fc017374a738
parent3b59f9c6c254e34d95d917857ccbe79f6e1104b0
Fix load more feature on the Account media gallery (#3293)

* Add load more button for large screens
* Fix `next` state value on the first loading
* Don't load if `isLoading || !hasMore`
* Start load on near the bottom
app/javascript/mastodon/features/account_gallery/index.js
app/javascript/mastodon/reducers/timelines.js
app/javascript/styles/components.scss