Skip to content

Commit d5a845c

Browse files
committed
fix: allow multiple use, fix #20
1 parent 6793f18 commit d5a845c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Uploader.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<!--UPLOAD BUTTON-->
1313
<div class="mu-plusbox-container">
14-
<label for="mu-file-input" class="mu-plusbox">
14+
<label class="mu-plusbox">
1515
<svg
1616
class="mu-plus-icon"
1717
xmlns="http://www.w3.org/2000/svg"
@@ -25,8 +25,8 @@
2525
fill="currentColor"/>
2626
</g>
2727
</svg>
28+
<input @change="fileChange" type="file" accept="image/*" multiple hidden>
2829
</label>
29-
<input @change="fileChange" id="mu-file-input" type="file" accept="image/*" multiple hidden>
3030
</div>
3131

3232
<!--IMAGES PREVIEW-->

0 commit comments

Comments
 (0)