Skip to content

Commit

Permalink
Use maxFiles instead of nomultiple in demos
Browse files Browse the repository at this point in the history
  • Loading branch information
manolo authored and Saulis committed Jun 8, 2016
1 parent c34ea2e commit bb495ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h3>Upload Request Properties</h3>
<h3>Disabling Drag & Drop and Picking Multiple Files in the File Dialog</h3>
<demo-snippet>
<template>
<vaadin-upload nodrop nomultiple></vaadin-upload>
<vaadin-upload nodrop maxFiles="1"></vaadin-upload>
</template>
</demo-snippet>

Expand Down
2 changes: 1 addition & 1 deletion test/adding-files.html
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
});

it('should allow wildcards', function() {
upload.accept = 'application/x-octet-stream';
upload.accept = 'application/*';
upload._addFiles([file]);
expect(upload.files.lentgh == 1);
});
Expand Down

0 comments on commit bb495ce

Please sign in to comment.