This commit is contained in:
Nicolas Stepien 2013-02-22 21:37:56 +01:00
parent a7d89fbd88
commit 1bc2c17e41
2 changed files with 3 additions and 3 deletions

View File

@ -6069,7 +6069,7 @@
captcha: { captcha: {
init: function() { init: function() {
var _this = this; var _this = this;
if (d.cookie.indexOf('pass_enabled=1;') >= 0) { if (d.cookie.indexOf('pass_enabled=1') >= 0) {
return; return;
} }
if (!(this.isEnabled = !!$.id('captchaFormPart'))) { if (!(this.isEnabled = !!$.id('captchaFormPart'))) {

View File

@ -458,8 +458,8 @@ QR =
captcha: captcha:
init: -> init: ->
# XXX CoffeeScrit's indexOf doesn't wanna work here ??? # XXX CoffeeScrit's indexOf doesn't wanna work here ???
# return if 'pass_enabled=1;' in d.cookie # return if 'pass_enabled=1' in d.cookie
return if d.cookie.indexOf('pass_enabled=1;') >= 0 return if d.cookie.indexOf('pass_enabled=1') >= 0
return unless @isEnabled = !!$.id 'captchaFormPart' return unless @isEnabled = !!$.id 'captchaFormPart'
if $.id 'recaptcha_challenge_field_holder' if $.id 'recaptcha_challenge_field_holder'
@ready() @ready()