Browse Source

Upgrade to v1.5.0

Kartik Visweswaran 11 years ago
parent
commit
975da5d3df
1 changed files with 4 additions and 4 deletions
  1. 4 4
      README.md

+ 4 - 4
README.md

@@ -158,7 +158,7 @@ The `mainTemplate` if not passed, will be automatically set based on `showCaptio
 
 
 #### initialPreview
 #### initialPreview
 
 
-_string|array_ the initial preview content to be displayed. You can pass the minimal HTML markup for displaying your image, text, or file. 
+_string | array_ the initial preview content to be displayed. You can pass the minimal HTML markup for displaying your image, text, or file. 
 If set as a string, this will display a single file in the initial preview. If set as an array, it will display all files in the array as an 
 If set as a string, this will display a single file in the initial preview. If set as an array, it will display all files in the array as an 
 initial preview (useful for multiple file upload scenarios).
 initial preview (useful for multiple file upload scenarios).
 
 
@@ -191,9 +191,9 @@ initialPreview: "<div class='file-preview-text'>" +
 
 
 #### initialCaption
 #### initialCaption
 
 
-_string_ the initial preview caption text to be displayed. If you do not set a value here and `initialPreview`,
- this will default to `"{preview-file-count} files selected"`, where `{preview-file-count}` is the count of the
- files passed in `initialPreview`.
+_string_ the initial preview caption text to be displayed. If you do not set a value here and `initialPreview` is set to 
+`true` this will default to `"{preview-file-count} files selected"`, where `{preview-file-count}` is the count of the 
+files passed in `initialPreview`.
  
  
 #### captionTemplate
 #### captionTemplate
 _string_ the template used to render the caption. The following template variables will be parsed:
 _string_ the template used to render the caption. The following template variables will be parsed: