fix localhost:5000 in captcha.js
This commit is contained in:
parent
c5c5bdb287
commit
980bb69151
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ function ccreateIframeElement(t = {}) {
|
||||||
e.style.border = "none", e.style.width = "100%", e.style.height = "100%", e.scrolling = "no", e.id = "captcha-iframe";
|
e.style.border = "none", e.style.width = "100%", e.style.height = "100%", e.scrolling = "no", e.id = "captcha-iframe";
|
||||||
t.dest, t.amount, t.currency, t.label, t.opReturn;
|
t.dest, t.amount, t.currency, t.label, t.opReturn;
|
||||||
var captchaid = document.getElementById("captchascript").getAttribute("data-captchaid");
|
var captchaid = document.getElementById("captchascript").getAttribute("data-captchaid");
|
||||||
return e.src = "http://localhost:5000/captcha/" + captchaid, e
|
return e.src = "./captcha/" + captchaid, e
|
||||||
}
|
}
|
||||||
document.addEventListener("DOMContentLoaded", function() {
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
if (captchaStyleAdded) console.log("Captcha stuff already added!");
|
if (captchaStyleAdded) console.log("Captcha stuff already added!");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue