clear textarea on successful qr
This commit is contained in:
parent
b5d9d3bf1c
commit
64991aefaf
@ -424,7 +424,9 @@ iframeLoad = ->
|
||||
className: 'error'
|
||||
}
|
||||
qr.appendChild(span)
|
||||
else unless getConfig('Persistent QR') and REPLY
|
||||
else if REPLY and getConfig('Persistent QR')
|
||||
$('textarea', qr).value = ''
|
||||
else
|
||||
remove qr
|
||||
|
||||
window.location = 'javascript:Recaptcha.reload()'
|
||||
|
||||
@ -464,10 +464,10 @@
|
||||
className: 'error'
|
||||
});
|
||||
qr.appendChild(span);
|
||||
} else if (REPLY && getConfig('Persistent QR')) {
|
||||
$('textarea', qr).value = '';
|
||||
} else {
|
||||
if (!(getConfig('Persistent QR') && REPLY)) {
|
||||
remove(qr);
|
||||
}
|
||||
remove(qr);
|
||||
}
|
||||
return (window.location = 'javascript:Recaptcha.reload()');
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user