Fix pass. #932
This commit is contained in:
parent
a7d89fbd88
commit
1bc2c17e41
@ -6069,7 +6069,7 @@
|
||||
captcha: {
|
||||
init: function() {
|
||||
var _this = this;
|
||||
if (d.cookie.indexOf('pass_enabled=1;') >= 0) {
|
||||
if (d.cookie.indexOf('pass_enabled=1') >= 0) {
|
||||
return;
|
||||
}
|
||||
if (!(this.isEnabled = !!$.id('captchaFormPart'))) {
|
||||
|
||||
@ -458,8 +458,8 @@ QR =
|
||||
captcha:
|
||||
init: ->
|
||||
# XXX CoffeeScrit's indexOf doesn't wanna work here ???
|
||||
# return if 'pass_enabled=1;' in d.cookie
|
||||
return if d.cookie.indexOf('pass_enabled=1;') >= 0
|
||||
# return if 'pass_enabled=1' in d.cookie
|
||||
return if d.cookie.indexOf('pass_enabled=1') >= 0
|
||||
return unless @isEnabled = !!$.id 'captchaFormPart'
|
||||
if $.id 'recaptcha_challenge_field_holder'
|
||||
@ready()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user