From: Eugen Date: Mon, 20 Feb 2017 18:01:47 +0000 (+0100) Subject: Fix scroll to top not registering because of wrong debounce usage X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=f338cc6c949515a536849522c0e33eb2790d40fa;p=mastodon.git Fix scroll to top not registering because of wrong debounce usage --- 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)); },