Firefox fix.
This commit is contained in:
parent
0055c6d164
commit
a5b2e1d265
@ -1427,7 +1427,7 @@
|
||||
});
|
||||
this.count($.get('captchas', []).length);
|
||||
this.load();
|
||||
return window.location = 'javascript:Recaptcha.focus_response_field=function(){}';
|
||||
return window.location = 'javascript:(function(){Recaptcha.focus_response_field=function(){}})()';
|
||||
},
|
||||
save: function() {
|
||||
var captchas, length, now, response;
|
||||
|
||||
@ -1058,7 +1058,7 @@ qr =
|
||||
@count $.get('captchas', []).length
|
||||
@load()
|
||||
# prevent original captcha input from being focused on reload
|
||||
window.location = 'javascript:Recaptcha.focus_response_field=function(){}'
|
||||
window.location = 'javascript:(function(){Recaptcha.focus_response_field=function(){}})()'
|
||||
save: ->
|
||||
return unless response = @input.value
|
||||
captchas = $.get 'captchas', []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user