diff options
Diffstat (limited to 'web/react/components/create_comment.jsx')
-rw-r--r-- | web/react/components/create_comment.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/create_comment.jsx b/web/react/components/create_comment.jsx index 5f8f76fab..24e0ff6e9 100644 --- a/web/react/components/create_comment.jsx +++ b/web/react/components/create_comment.jsx @@ -294,7 +294,7 @@ class CreateComment extends React.Component { if (index !== -1) { uploadsInProgress.splice(index, 1); - this.refs.fileUpload.cancelUpload(id); + this.refs.fileUpload.getWrappedInstance().cancelUpload(id); } } else { previews.splice(index, 1); |