Skip to content

Commit 347e26e

Browse files
committed
Merge branch 'master' of github.com:mailru/FileAPI
2 parents abcd5e1 + 97bcf05 commit 347e26e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Retrieve file list from `input` element or `event` object, also support `jQuery`
9494

9595
```js
9696
var el = document.getElement('my-input');
97-
FileAPI.event.on(el, function (evt/**Event*/){
97+
FileAPI.event.on(el, 'change', function (evt/**Event*/){
9898
// Retrieve file list
9999
var files = FileAPI.getFiles(el);
100100

0 commit comments

Comments
 (0)