Skip to content

Commit

Permalink
made input only show images when opened
Browse files Browse the repository at this point in the history
  • Loading branch information
erikpersson0884 committed Feb 2, 2024
1 parent c0d3fae commit 9f83342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<div id="controlDiv">
<div class="selectImageContainer">
<input id="selectImageInput" type="file" class="hidden" />
<input id="selectImageInput" type="file" accept="image/*" class="hidden" />

<img id="selectImageButton" src="images/upload-white.svg" height="4">
<span id="fileName" class="fileName">No file chosen</span>
Expand Down

0 comments on commit 9f83342

Please sign in to comment.