about summary refs log tree commit diff
path: root/app/javascript/mastodon/components/media_gallery.js
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-06-23 23:05:04 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-23 16:05:04 +0200
commiteff94164696ecb126ab47b85ee842e65692b649a (patch)
tree7cfb397d8d62e5d4ae96479505a74d1e15e41e00 /app/javascript/mastodon/components/media_gallery.js
parent6fbb3841a6dd4ec3d84b098437e35f41d41e8407 (diff)
Remove unused variables (#3906)
Diffstat (limited to 'app/javascript/mastodon/components/media_gallery.js')
-rw-r--r--app/javascript/mastodon/components/media_gallery.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/media_gallery.js b/app/javascript/mastodon/components/media_gallery.js
index 465130cec..cbed90f82 100644
--- a/app/javascript/mastodon/components/media_gallery.js
+++ b/app/javascript/mastodon/components/media_gallery.js
@@ -138,7 +138,7 @@ class MediaGallery extends React.PureComponent {
     visible: !this.props.sensitive,
   };
 
-  handleOpen = (e) => {
+  handleOpen = () => {
     this.setState({ visible: !this.state.visible });
   }