Don't run noscript captcha stuff on error pages.
This commit is contained in:
parent
83ce9c1cfe
commit
d8ba3e1708
@ -50,6 +50,8 @@ Captcha.fixes =
|
|||||||
initNoscript: ->
|
initNoscript: ->
|
||||||
@noscript = true
|
@noscript = true
|
||||||
@images = $$ '.fbc-payload-imageselect > input'
|
@images = $$ '.fbc-payload-imageselect > input'
|
||||||
|
return unless @images.length
|
||||||
|
|
||||||
$.addStyle @cssNoscript
|
$.addStyle @cssNoscript
|
||||||
@addLabels()
|
@addLabels()
|
||||||
$.on d, 'keydown', @keybinds.bind(@)
|
$.on d, 'keydown', @keybinds.bind(@)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user