mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-25 16:00:22 +01:00
Fix issue #58
This commit is contained in:
parent
b791b2eed3
commit
c89ba44589
@ -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)+'">');
|
||||
|
Loading…
Reference in New Issue
Block a user