Typing in cleared post should re-setup captcha.
This commit is contained in:
parent
e9595c58ee
commit
77aa3689ea
@ -34,6 +34,7 @@ QR.captcha =
|
|||||||
|
|
||||||
onPostChange: ->
|
onPostChange: ->
|
||||||
@setup() if @postsCount is 0
|
@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: ->
|
toggle: ->
|
||||||
if @nodes.container and !@timeouts.destroy
|
if @nodes.container and !@timeouts.destroy
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user