mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
Merge pull request #774 from ZogStriP/patch-1
force the browse dialog to only accept images...
This commit is contained in:
@ -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>
|
||||||
|
Reference in New Issue
Block a user