mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-23 05:37:47 +00:00
Fix scroll to top not registering because of wrong debounce usage
This commit is contained in:
parent
e8ea9669c9
commit
f338cc6c94
|
@ -47,7 +47,7 @@ const mapDispatchToProps = (dispatch, { type, id }) => ({
|
||||||
dispatch(expandTimeline(type, id));
|
dispatch(expandTimeline(type, id));
|
||||||
},
|
},
|
||||||
|
|
||||||
@debounce(300, true)
|
@debounce(300)
|
||||||
onScrollToTop () {
|
onScrollToTop () {
|
||||||
dispatch(scrollTopTimeline(type, true));
|
dispatch(scrollTopTimeline(type, true));
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue