1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-25 07:50:23 +01:00
This commit is contained in:
Fredrick Brennan 2014-05-20 21:23:18 -04:00
parent b791b2eed3
commit c89ba44589

View File

@ -16,7 +16,7 @@ function multi_image() {
e.preventDefault();
$('#upload_url').remove();
var images_len = $('input[type=file]').length;
var images_len = $('form:not([id="quick-reply"]) [type=file]').length;
if (!(images_len >= max_images)) {
$('.add_image').after('<br/><input type="file" name="file'+(images_len+1)+'" id="upload_file'+(images_len+1)+'">');