From 2ff3e458bf6b206f2dabdc7f361e43928484f4c2 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 9b7bbf0721..114a7b2cf2 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)); },