diff options
author | Eugen <eugen@zeonfederated.com> | 2017-02-20 19:01:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-20 19:01:47 +0100 |
commit | f338cc6c949515a536849522c0e33eb2790d40fa (patch) | |
tree | 1949f8cbe43fba74ff428d2d2275ec006a117184 /app/assets/javascripts | |
parent | e8ea9669c98328cee7b989d1080cd95ee83b1b9f (diff) |
Fix scroll to top not registering because of wrong debounce usage
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/components/features/ui/containers/status_list_container.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/ui/containers/status_list_container.jsx b/app/assets/javascripts/components/features/ui/containers/status_list_container.jsx index 9b7bbf072..114a7b2cf 100644 --- a/app/assets/javascripts/components/features/ui/containers/status_list_container.jsx +++ b/app/assets/javascripts/components/features/ui/containers/status_list_container.jsx @@ -47,7 +47,7 @@ const mapDispatchToProps = (dispatch, { type, id }) => ({ dispatch(expandTimeline(type, id)); }, - @debounce(300, true) + @debounce(300) onScrollToTop () { dispatch(scrollTopTimeline(type, true)); }, |