fix file adding
This commit is contained in:
parent
c740f53bfe
commit
1d9415ecf9
@ -1387,7 +1387,10 @@
|
||||
},
|
||||
add: function() {
|
||||
var file, files;
|
||||
file = this.parentNode.nextElementSibling.cloneNode(true);
|
||||
file = $.el('input', {
|
||||
type: 'file',
|
||||
name: 'upfile'
|
||||
});
|
||||
files = $('#files', qr.el);
|
||||
return $.append(files, file);
|
||||
},
|
||||
|
||||
@ -1088,7 +1088,7 @@ qr =
|
||||
$('input[name=pwd]', qr.el).value = if m = c.match(/4chan_pass=([^;]+)/) then decodeURIComponent m[1] else $('input[name=pwd]').value
|
||||
|
||||
add: ->
|
||||
file = @parentNode.nextElementSibling.cloneNode true
|
||||
file = $.el 'input', type: 'file', name: 'upfile'
|
||||
files = $ '#files', qr.el
|
||||
$.append files, file
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user