Don't remove captcha upon leaving form; more annoying than useful.

This commit is contained in:
ccd0 2015-06-28 16:43:00 -07:00
parent 4b39229888
commit 2cfec41c16

View File

@ -27,11 +27,6 @@ Captcha.replace =
else if location.hostname is 'boards.4chan.org'
form = $.id 'postForm'
form.addEventListener 'focus', (-> Captcha.v1.create()), true
form.addEventListener 'blur', ->
$.queueTask ->
unless form.contains(document.activeElement) or $.id('qr')?.contains(document.activeElement)
Captcha.v1.destroy()
, true
else
Captcha.v1.create()