Fix error reported in #3121.
This commit is contained in:
parent
cb68f4332e
commit
c8c293e6eb
@ -48,7 +48,8 @@ Captcha.t =
|
|||||||
delete @nodes.container
|
delete @nodes.container
|
||||||
|
|
||||||
updateThread: ->
|
updateThread: ->
|
||||||
{boardID, threadID} = Captcha.t.currentThread
|
return unless @isEnabled
|
||||||
|
{boardID, threadID} = (Captcha.t.currentThread or {})
|
||||||
newThread = Captcha.t.getThread()
|
newThread = Captcha.t.getThread()
|
||||||
unless newThread.boardID is boardID and newThread.threadID is threadID
|
unless newThread.boardID is boardID and newThread.threadID is threadID
|
||||||
Captcha.t.destroy()
|
Captcha.t.destroy()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user