Make file selector work, add to config

Conflicts:
	inc/instance-config.php
	templates/post_form.html
This commit is contained in:
8chan 2015-03-19 20:22:17 -07:00 committed by czaks
parent 6e84a25f9a
commit f26256f55a
2 changed files with 3 additions and 3 deletions

View file

@ -106,7 +106,7 @@
</div>
</div>
<script type="text/javascript">if (typeof init_file_selector !== 'undefined') init_file_selector();</script>
<script type="text/javascript">if (typeof init_file_selector !== 'undefined') init_file_selector({{ config.max_images }});</script>
{% if config.allow_upload_by_url %}
<div style="float:none;text-align:left" id="upload_url">