#18 first load recaptcha config after document ready
This commit is contained in:
parent
78e7b0b8d2
commit
ecd0577ae2
2 changed files with 7 additions and 1 deletions
|
@ -32,6 +32,9 @@
|
|||
}
|
||||
});
|
||||
}
|
||||
$(window).on( "load", function() {
|
||||
getCaptchaConfig();
|
||||
});
|
||||
$(document).ready(function () {
|
||||
getCaptchaConfig();
|
||||
console.log("READY");
|
||||
|
|
|
@ -50,9 +50,12 @@
|
|||
}
|
||||
});
|
||||
}
|
||||
$(window).on( "load", function() {
|
||||
getCaptchaConfig();
|
||||
});
|
||||
$(document).ready(function () {
|
||||
console.log("READY");
|
||||
getCaptchaConfig();
|
||||
|
||||
$("#register").submit(function (e) {
|
||||
e.preventDefault();
|
||||
var form = $(this);
|
||||
|
|
Reference in a new issue