Skip to content

Commit 252c036

Browse files
committed
base url var
1 parent b0ed742 commit 252c036

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

assets_js_lib_bitrequest_checkout.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const html_node = document.documentElement,
2-
base_url = "https://bitrequest.github.io";
2+
b_url = "https://bitrequest.github.io";
33

44
document.addEventListener("DOMContentLoaded", function() {
55
checkout();
@@ -40,7 +40,7 @@ function iframe_loaded() {
4040
requestframe.addEventListener("load", function() {
4141
const frame_source = requestframe.getAttribute("src");
4242
if (frame_source) {
43-
if (frame_source === base_url) {
43+
if (frame_source === b_url) {
4444
return
4545
}
4646
showframe();
@@ -95,7 +95,7 @@ function closeframe() {
9595
html_node.classList.remove("showframe");
9696
const iframe = document.querySelector("#br_framebox iframe");
9797
if (iframe) {
98-
iframe.setAttribute("src", base_url);
98+
iframe.setAttribute("src", b_url);
9999
}
100100
}, 400);
101101
}

0 commit comments

Comments
 (0)