about summary refs log tree commit diff
path: root/app/javascript/mastodon/components/intersection_observer_article.js
diff options
context:
space:
mode:
authorBèr Kessels <ber@berk.es>2020-03-08 16:02:36 +0100
committerGitHub <noreply@github.com>2020-03-08 16:02:36 +0100
commitfd76955f3942bbd7ec830ab535bc31621cac14a4 (patch)
tree49e503f1354a9cbd2f88c03db8c292aa30bac305 /app/javascript/mastodon/components/intersection_observer_article.js
parent4e524218d3086e4f930e2005f1ce2d82f29e1a20 (diff)
Code style improvements in JavaScript (#13159)
* JS-linter: fix trailing comma's

* Configure eslinter to ignore this onchange error.
Diffstat (limited to 'app/javascript/mastodon/components/intersection_observer_article.js')
-rw-r--r--app/javascript/mastodon/components/intersection_observer_article.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/intersection_observer_article.js b/app/javascript/mastodon/components/intersection_observer_article.js
index e453730ba..124b34b02 100644
--- a/app/javascript/mastodon/components/intersection_observer_article.js
+++ b/app/javascript/mastodon/components/intersection_observer_article.js
@@ -44,7 +44,7 @@ export default class IntersectionObserverArticle extends React.Component {
     intersectionObserverWrapper.observe(
       id,
       this.node,
-      this.handleIntersection
+      this.handleIntersection,
     );
 
     this.componentMounted = true;