Only accept images in file input.

This commit is contained in:
tastytea 2020-07-02 11:15:15 +02:00
parent d1492dbd55
commit 07957ce5fa
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@
<input type="button" id="add_receipt" value="" disabled><br>
<label for="screenshot">Screenshot:</label>
<input type="file" id="screenshot" name="screenshot">
<input type="file" id="screenshot" name="screenshot" accept="image/*">
<span class="optional">(optional)</span><br>
<label for="description">Description:</label><br>