mirror of
https://github.com/discourse/discourse.git
synced 2025-02-18 01:05:00 +00:00
force the browse dialog to only accept images
on image upload
This commit is contained in:
parent
b82e408351
commit
07b9c47efe
@ -10,7 +10,7 @@
|
||||
{{#if view.localSelected}}
|
||||
<div class='modal-body'>
|
||||
<form>
|
||||
<input type="file" name="file" id="filename-input" value="browse"><br>
|
||||
<input type="file" name="file" id="filename-input" value="browse" accept="image/*"><br>
|
||||
<span class='description'>{{i18n image_selector.local_tip}}</span> <br>
|
||||
</form>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user