Accept general text/* files on post import
This fixes an issue with Safari not allowing users to select *.md files. Closes #334
This commit is contained in:
parent
0c7aba1f53
commit
f8888df746
|
@ -29,7 +29,7 @@
|
||||||
<div class="formContainer">
|
<div class="formContainer">
|
||||||
<form id="importPosts" class="prominent" enctype="multipart/form-data" action="/api/me/import" method="POST">
|
<form id="importPosts" class="prominent" enctype="multipart/form-data" action="/api/me/import" method="POST">
|
||||||
<label>Select some files to import:
|
<label>Select some files to import:
|
||||||
<input id="fileInput" class="fileInput" name="files" type="file" multiple accept="text/markdown, text/plain"/>
|
<input id="fileInput" class="fileInput" name="files" type="file" multiple accept="text/*"/>
|
||||||
</label>
|
</label>
|
||||||
<input id="fileDates" name="fileDates" hidden/>
|
<input id="fileDates" name="fileDates" hidden/>
|
||||||
<label>
|
<label>
|
||||||
|
|
Loading…
Reference in New Issue