From f338cc6c949515a536849522c0e33eb2790d40fa Mon Sep 17 00:00:00 2001 From: Eugen Date: Mon, 20 Feb 2017 19:01:47 +0100 Subject: [PATCH] Fix scroll to top not registering because of wrong debounce usage --- .../components/features/ui/containers/status_list_container.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9b7bbf0721a..114a7b2cf26 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)); },