new solution to captcha resize problem
This commit is contained in:
parent
bf6f9b4429
commit
f3f940a229
@ -67,6 +67,10 @@ QR.captcha =
|
|||||||
subtree: true
|
subtree: true
|
||||||
attributes: true
|
attributes: true
|
||||||
QR.captcha.load()
|
QR.captcha.load()
|
||||||
|
|
||||||
|
if QR.nodes.el.getBoundingClientRect().bottom > doc.clientHeight
|
||||||
|
QR.nodes.el.style.top = null
|
||||||
|
QR.nodes.el.style.bottom = '0px'
|
||||||
destroy: ->
|
destroy: ->
|
||||||
$.globalEval 'Recaptcha.destroy()'
|
$.globalEval 'Recaptcha.destroy()'
|
||||||
@beforeSetup()
|
@beforeSetup()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user