We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b38646e commit 479897bCopy full SHA for 479897b
README.md
@@ -17,10 +17,9 @@ $ npm install dropkit.js
17
<script src="https://unpkg.com/dropkit.js-test/dist/umd/index.js"></script>
18
19
<script>
20
- // On Mint button click
21
- $("#mint_btn").click(async function () {
22
- const drop = await DropKit.create('x-api-key-here'); // Supply API key
23
- await drop.mint(1); // Number of NFTs to mint
24
- });
+ document.getElementById('mint_btn').onclick = async function mint() {
+ const drop = await DropKit.create('x-api-key-here'); // Supply API key
+ await drop.mint(1); // Number of NFTs to mint
+ }
25
</script>
26
```
0 commit comments