mirror of
https://github.com/altcha-org/altcha.git
synced 2026-01-25 04:16:41 +00:00
0.1.6
This commit is contained in:
@@ -86,6 +86,9 @@ document.querySelector('#altcha').addEventListener('statechange', (ev) => {
|
||||
});
|
||||
```
|
||||
|
||||
> [!IMPORTANT]
|
||||
> Ensure that you attach event listeners after the ALTCHA script loads, such as within window.addEventListener('load', ...), to ensure the events trigger correctly.
|
||||
|
||||
## Contributing
|
||||
See [Contributing Guide](https://github.com/altcha-org/altcha/blob/main/CONTRIBUTING.md) and please follow our [Code of Conduct](https://github.com/altcha-org/altcha/blob/main/CODE_OF_CONDUCT.md).
|
||||
|
||||
|
||||
2
dist/altcha.iife.js
vendored
2
dist/altcha.iife.js
vendored
File diff suppressed because one or more lines are too long
1031
dist/altcha.js
vendored
1031
dist/altcha.js
vendored
File diff suppressed because it is too large
Load Diff
2
dist/altcha.umd.cjs
vendored
2
dist/altcha.umd.cjs
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "altcha",
|
||||
"version": "0.1.5",
|
||||
"version": "0.1.6",
|
||||
"license": "MIT",
|
||||
"author": {
|
||||
"name": "Daniel Regeci"
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
export let challengejson: string | undefined = undefined;
|
||||
export let debug: boolean = false;
|
||||
export let hidefooter: boolean = false;
|
||||
export let hidelogo: boolean = false;
|
||||
export let name: string = 'altcha';
|
||||
export let maxnumber: number | undefined = undefined;
|
||||
export let mockerror: boolean = false;
|
||||
@@ -282,6 +283,7 @@
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
{#if hidelogo !== true}
|
||||
<div>
|
||||
<a href={website} target="_blank" class="altcha-logo">
|
||||
<svg width="22" height="22" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
@@ -291,6 +293,7 @@
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
{#if error}
|
||||
|
||||
Reference in New Issue
Block a user