commit: f338cc6c949515a536849522c0e33eb2790d40fa
parent: e8ea9669c98328cee7b989d1080cd95ee83b1b9f
Author: Eugen <eugen@zeonfederated.com>
Date: Mon, 20 Feb 2017 19:01:47 +0100
Fix scroll to top not registering because of wrong debounce usage
Diffstat:
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
@@ -47,7 +47,7 @@ const mapDispatchToProps = (dispatch, { type, id }) => ({
dispatch(expandTimeline(type, id));
},
- @debounce(300, true)
+ @debounce(300)
onScrollToTop () {
dispatch(scrollTopTimeline(type, true));
},