Don't need to replace language if we're replacing the whole captcha.
This commit is contained in:
parent
68ebbf2151
commit
5d90cf0f28
@ -3,7 +3,7 @@ Report =
|
|||||||
|
|
||||||
init: ->
|
init: ->
|
||||||
return unless /\bmode=report\b/.test(location.search) and match = location.search.match /\bno=(\d+)/
|
return unless /\bmode=report\b/.test(location.search) and match = location.search.match /\bno=(\d+)/
|
||||||
Captcha.language.fixPage()
|
Captcha.language.fixPage() unless Conf['Use Recaptcha v2 in Reports']
|
||||||
@postID = +match[1]
|
@postID = +match[1]
|
||||||
$.ready @ready
|
$.ready @ready
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user