Move the recaptcha script to the bottom of the page

Avoids globalOnCaptchaLoaded not getting called when the script is cached
multisite
Floens 10 years ago
parent 66bfb7f615
commit 4e67a47ad7
  1. 3
      Clover/app/src/main/assets/captcha/captcha.html

@ -14,7 +14,6 @@
margin: 40px auto 0 auto;
}
</style>
<script src='https://www.google.com/recaptcha/api.js?onload=globalOnCaptchaLoaded&render=explicit'></script>
</head>
<body>
<div id="captcha-container"></div>
@ -43,5 +42,7 @@ window.onerror = function(message, url, line) {
}
})();
</script>
<script src='https://www.google.com/recaptcha/api.js?onload=globalOnCaptchaLoaded&render=explicit'></script>
</body>
</html>

Loading…
Cancel
Save