use m
This commit is contained in:
parent
037b841f63
commit
5e40566bf6
@ -497,8 +497,9 @@ quickReply = (e) ->
|
|||||||
remove script
|
remove script
|
||||||
m $('input[name=recaptcha_response_field]', clone),
|
m $('input[name=recaptcha_response_field]', clone),
|
||||||
listener: ['keydown', recaptchaListener]
|
listener: ['keydown', recaptchaListener]
|
||||||
clone.addEventListener 'submit', formSubmit, true
|
m clone,
|
||||||
clone.target = 'iframe'
|
listener: ['submit', formSubmit]
|
||||||
|
target: 'iframe'
|
||||||
if not g.REPLY
|
if not g.REPLY
|
||||||
#figure out which thread we're replying to
|
#figure out which thread we're replying to
|
||||||
xpath = 'preceding::span[@class="postername"][1]/preceding::input[1]'
|
xpath = 'preceding::span[@class="postername"][1]/preceding::input[1]'
|
||||||
|
|||||||
@ -646,8 +646,10 @@
|
|||||||
m($('input[name=recaptcha_response_field]', clone), {
|
m($('input[name=recaptcha_response_field]', clone), {
|
||||||
listener: ['keydown', recaptchaListener]
|
listener: ['keydown', recaptchaListener]
|
||||||
});
|
});
|
||||||
clone.addEventListener('submit', formSubmit, true);
|
m(clone, {
|
||||||
clone.target = 'iframe';
|
listener: ['submit', formSubmit],
|
||||||
|
target: 'iframe'
|
||||||
|
});
|
||||||
if (!g.REPLY) {
|
if (!g.REPLY) {
|
||||||
xpath = 'preceding::span[@class="postername"][1]/preceding::input[1]';
|
xpath = 'preceding::span[@class="postername"][1]/preceding::input[1]';
|
||||||
input = n('input', {
|
input = n('input', {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user