about summary refs log tree commit diff
path: root/app/assets/javascripts/components/features/ui/containers/status_list_container.jsx
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2017-02-20 19:01:47 +0100
committerGitHub <noreply@github.com>2017-02-20 19:01:47 +0100
commitf338cc6c949515a536849522c0e33eb2790d40fa (patch)
tree1949f8cbe43fba74ff428d2d2275ec006a117184 /app/assets/javascripts/components/features/ui/containers/status_list_container.jsx
parente8ea9669c98328cee7b989d1080cd95ee83b1b9f (diff)
Fix scroll to top not registering because of wrong debounce usage
Diffstat (limited to 'app/assets/javascripts/components/features/ui/containers/status_list_container.jsx')
-rw-r--r--app/assets/javascripts/components/features/ui/containers/status_list_container.jsx2
1 files changed, 1 insertions, 1 deletions
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));
   },