diff options
Diffstat (limited to 'app/javascript/mastodon/features/ui/components/upload_area.js')
-rw-r--r-- | app/javascript/mastodon/features/ui/components/upload_area.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/ui/components/upload_area.js b/app/javascript/mastodon/features/ui/components/upload_area.js index c7f546588..c40fe1fb9 100644 --- a/app/javascript/mastodon/features/ui/components/upload_area.js +++ b/app/javascript/mastodon/features/ui/components/upload_area.js @@ -8,14 +8,14 @@ class UploadArea extends React.PureComponent { static propTypes = { active: PropTypes.bool, - onClose: PropTypes.func + onClose: PropTypes.func, }; handleKeyUp = (e) => { e.preventDefault(); e.stopPropagation(); - const keyCode = e.keyCode + const keyCode = e.keyCode; if (this.props.active) { switch(keyCode) { case 27: |