Typing in cleared post should re-setup captcha.

This commit is contained in:
ccd0 2014-12-11 07:59:26 -08:00
parent e9595c58ee
commit 77aa3689ea

View File

@ -34,6 +34,7 @@ QR.captcha =
onPostChange: ->
@setup() if @postsCount is 0
@postsCount = 0 if QR.posts.length is 1 and !Conf['Auto-load captcha'] and !QR.posts[0].com and !QR.posts[0].file
toggle: ->
if @nodes.container and !@timeouts.destroy