mirror of
https://github.com/discourse/discourse.git
synced 2025-04-07 21:00:48 +08: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}}
|
{{#if view.localSelected}}
|
||||||
<div class='modal-body'>
|
<div class='modal-body'>
|
||||||
<form>
|
<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>
|
<span class='description'>{{i18n image_selector.local_tip}}</span> <br>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user