]> cat aescling's git repositories - mastodon.git/commitdiff
Fix scroll to top not registering because of wrong debounce usage
authorEugen <eugen@zeonfederated.com>
Mon, 20 Feb 2017 18:01:47 +0000 (19:01 +0100)
committerGitHub <noreply@github.com>
Mon, 20 Feb 2017 18:01:47 +0000 (19:01 +0100)
app/assets/javascripts/components/features/ui/containers/status_list_container.jsx

index 9b7bbf0721a9db468c08425580ea5fdc6c9e38fb..114a7b2cf269d6b4c88547b40504183eab7c2fa5 100644 (file)
@@ -47,7 +47,7 @@ const mapDispatchToProps = (dispatch, { type, id }) => ({
     dispatch(expandTimeline(type, id));
   },
 
-  @debounce(300, true)
+  @debounce(300)
   onScrollToTop () {
     dispatch(scrollTopTimeline(type, true));
   },