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