1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-21 04:59:49 +01:00

Hopefully fix regression in multi-image.js

This commit is contained in:
8chan 2015-03-14 00:04:22 -07:00
parent 647c0618ce
commit d26e5e516c

View File

@ -20,7 +20,7 @@ function multi_image() {
if (!(images_len >= max_images)) {
var new_file = '<br class="file_separator"/><input type="file" name="file'+(images_len+1)+'" id="upload_file'+(images_len+1)+'">';
$('[type=file]:last').after(new_file);
$('div#quick-reply [type=file]:last, div#post-form-outer [type=file]:last').after(new_file);
if (typeof setup_form !== 'undefined') setup_form($('form[name="post"]'));
}
})