about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/mutes/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/features/mutes/index.js')
-rw-r--r--app/javascript/mastodon/features/mutes/index.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/javascript/mastodon/features/mutes/index.js b/app/javascript/mastodon/features/mutes/index.js
index 884b3b3e7..01d4ac8f7 100644
--- a/app/javascript/mastodon/features/mutes/index.js
+++ b/app/javascript/mastodon/features/mutes/index.js
@@ -21,16 +21,11 @@ const mapStateToProps = state => ({
 
 class Mutes extends ImmutablePureComponent {
 
-  constructor (props, context) {
-    super(props, context);
-    this.handleScroll = this.handleScroll.bind(this);
-  }
-
   componentWillMount () {
     this.props.dispatch(fetchMutes());
   }
 
-  handleScroll (e) {
+  handleScroll = (e) => {
     const { scrollTop, scrollHeight, clientHeight } = e.target;
 
     if (scrollTop === scrollHeight - clientHeight) {