Skip to content

Commit

Permalink
0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ovx committed Jul 4, 2024
1 parent 8a7978e commit 71cd88e
Show file tree
Hide file tree
Showing 6 changed files with 142 additions and 142 deletions.
4 changes: 2 additions & 2 deletions dist/altcha.js
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ function or(r, e, t) {
jt(() => {
m && (m.removeEventListener("submit", Le), m.removeEventListener("reset", Re), m.removeEventListener("focusin", Ce), m = null), W && (clearTimeout(W), W = null), document.removeEventListener("click", Ne), document.removeEventListener("scroll", Se), window.removeEventListener("resize", Te);
}), St(() => {
C("mounted", "0.6.0"), C("workers", ie), h && C("using test mode"), D && ae(D), s !== void 0 && C("auto", s), k !== void 0 && Ze(k), m = E.closest("form"), m && (m.addEventListener("submit", Le, { capture: !0 }), m.addEventListener("reset", Re), s === "onfocus" && m.addEventListener("focusin", Ce)), s === "onload" && q();
C("mounted", "0.6.1"), C("workers", ie), h && C("using test mode"), D && ae(D), s !== void 0 && C("auto", s), k !== void 0 && Ze(k), m = E.closest("form"), m && (m.addEventListener("submit", Le, { capture: !0 }), m.addEventListener("reset", Re), s === "onfocus" && m.addEventListener("focusin", Ce)), s === "onload" && q();
});
function C(...n) {
(U || n.some((f) => f instanceof Error)) && console[n[0] instanceof Error ? "error" : "log"]("ALTCHA", ...n);
Expand Down Expand Up @@ -1042,7 +1042,7 @@ function or(r, e, t) {
k && we();
}
function je() {
M === b.VERIFYING && alert(l.waitAlert);
M === b.VERIFYING && l.waitAlert && alert(l.waitAlert);
}
function ut(n) {
k && M !== b.UNVERIFIED && requestAnimationFrame(() => {
Expand Down
2 changes: 1 addition & 1 deletion dist/altcha.umd.cjs

Large diffs are not rendered by default.

Loading

0 comments on commit 71cd88e

Please sign in to comment.