diff --git a/app/components/client/tour-scripts.js b/app/components/client/tour-scripts.js index f1cef1f..fcea1e3 100644 --- a/app/components/client/tour-scripts.js +++ b/app/components/client/tour-scripts.js @@ -234,6 +234,10 @@ const handleExamples = debounce(event => { switch(data.action) { case "choose claim": fetchMetadata(exampleNumber, data.claimId); + + if (document.querySelector(".tour__navigation__example:nth-child(3)").classList.contains("active")) + document.getElementById("fetch-claim-uri").value = event.alt + "#" + event.dataset.claimId; + break; case "execute claim": diff --git a/app/components/footer.js b/app/components/footer.js index d221e62..27404b8 100644 --- a/app/components/footer.js +++ b/app/components/footer.js @@ -18,7 +18,7 @@ const config = local("/config"); // E X P O R T -export default function (state) { +export default state => { return html`
${emailSubscribe()} @@ -64,4 +64,4 @@ export default function (state) { ga("send", "pageview"); `; -} +}; diff --git a/app/components/playground.js b/app/components/playground.js index a0c5ad1..efd182e 100644 --- a/app/components/playground.js +++ b/app/components/playground.js @@ -12,7 +12,7 @@ import raw from "choo/html/raw"; // E X P O R T -export default function () { +export default () => { return dedent`
`; -} +}; diff --git a/app/dist/scripts/sockets.js b/app/dist/scripts/sockets.js index 799a4ca..3ba452e 100644 --- a/app/dist/scripts/sockets.js +++ b/app/dist/scripts/sockets.js @@ -59,7 +59,7 @@ function initializeWebSocketConnection() { setTimeout(() => { document.querySelector(".tour__content__meme__canvas__thumbnail").click(); - }, 100); + }, 500); } if (document.getElementById("tour-example-description")) {