forked from leftypol/leftypol
initialize file selector soon as it's loaded
Conflicts: templates/post_form.html
This commit is contained in:
parent
3bd7f94861
commit
0005f11098
2 changed files with 20 additions and 24 deletions
|
@ -106,6 +106,8 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">if (typeof init_file_selector !== 'undefined') init_file_selector();</script>
|
||||
|
||||
{% if config.allow_upload_by_url %}
|
||||
<div style="float:none;text-align:left" id="upload_url">
|
||||
<label for="file_url">{% trans %}Or URL{% endtrans %}</label>:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue