Don't run noscript captcha stuff on error pages.

This commit is contained in:
ccd0 2015-06-20 19:45:03 -07:00
parent 83ce9c1cfe
commit d8ba3e1708

View File

@ -50,6 +50,8 @@ Captcha.fixes =
initNoscript: ->
@noscript = true
@images = $$ '.fbc-payload-imageselect > input'
return unless @images.length
$.addStyle @cssNoscript
@addLabels()
$.on d, 'keydown', @keybinds.bind(@)