use make
I don't know why this wasn't in the last commit.
This commit is contained in:
parent
0cf430f04a
commit
536f100707
@ -492,11 +492,12 @@ cursor: pointer; \
|
|||||||
clone.addEventListener('submit', submit, true);
|
clone.addEventListener('submit', submit, true);
|
||||||
clone.target = 'iframe';
|
clone.target = 'iframe';
|
||||||
if (!REPLY) {
|
if (!REPLY) {
|
||||||
input = tag('input');
|
|
||||||
input.type = 'hidden';
|
|
||||||
input.name = 'resto';
|
|
||||||
xpath = 'preceding::span[@class="postername"][1]/preceding::input[1]';
|
xpath = 'preceding::span[@class="postername"][1]/preceding::input[1]';
|
||||||
input.value = x(xpath, this).name;
|
input = make('input', {
|
||||||
|
value: x(xpath, this).name,
|
||||||
|
type: 'hidden',
|
||||||
|
name: 'resto'
|
||||||
|
});
|
||||||
clone.appendChild(input);
|
clone.appendChild(input);
|
||||||
}
|
}
|
||||||
qr.appendChild(clone);
|
qr.appendChild(clone);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user