Age old issue... render the html first before you play with it.
twetch#455 4.9y
Your problem is that you are using the QuerySelector and assigning #button-copy to a variable called button, before you have even rendered the button....
Move that script to the bottom of the page and it'll work.
What the chain says
- Block
- 716 052
- Time
- 2021-12-02T13:44:41Z
- Signer
- 1CA7aWPU4rhyHsYzZ5zySQ3emrcXKYXaBm
- App
- twetch
- Type
- post
- Content type
- text/plain
- Name in tx
- twetch#455
Fields the transaction did not carry are omitted. Open the payload to see the bytes as stored.
Signed by
1CA7aWPU4rhyHsYzZ5zySQ3emrcXKYXaBm Verified