This commit is contained in:
Nicolas Stepien 2012-12-13 12:08:33 +01:00
parent f28bfd4e7e
commit 9f18c25805
3 changed files with 3 additions and 2 deletions

View File

@ -2366,7 +2366,7 @@
return this.input.alt = count;
},
reload: function(focus) {
window.location = 'javascript:Recaptcha.reload("t")';
$.globalEval('javascript:Recaptcha.reload("t")');
if (focus) {
return QR.captcha.input.focus();
}

View File

@ -1,6 +1,7 @@
master
- Mayhem
Fix selection quoting on Opera.
Fix history bug with Persistent QR enabled on Chrome.
2.37.0
- noface

View File

@ -1840,7 +1840,7 @@ QR =
@input.alt = count # For XTRM RICE.
reload: (focus) ->
# the "t" argument prevents the input from being focused
window.location = 'javascript:Recaptcha.reload("t")'
$.globalEval 'javascript:Recaptcha.reload("t")'
# Focus if we meant to.
QR.captcha.input.focus() if focus
keydown: (e) ->