From 0ce56a08219e9026019fa554808dc0428935478b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Thu, 25 Jun 2015 11:29:42 +0200 Subject: [PATCH] improve usability --- js/components/ascribe_uploader/file_drag_and_drop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/components/ascribe_uploader/file_drag_and_drop.js b/js/components/ascribe_uploader/file_drag_and_drop.js index 126dd656..49fd69f9 100644 --- a/js/components/ascribe_uploader/file_drag_and_drop.js +++ b/js/components/ascribe_uploader/file_drag_and_drop.js @@ -115,7 +115,7 @@ var FileDragAndDrop = React.createClass({ onDragOver={this.handleDragOver} onDrop={this.handleDrop} onDragEnd={this.handleDragEnd}> - {hasFiles ? null : Click or drag to add files} + {hasFiles ? null : this.props.multiple ? Click or drag to add files : Click or drag to add a file}