Closes #158 #171
4 changed files with 9 additions and 5 deletions
|
@ -234,6 +234,10 @@ const handleExamples = debounce(event => {
|
||||||
switch(data.action) {
|
switch(data.action) {
|
||||||
case "choose claim":
|
case "choose claim":
|
||||||
fetchMetadata(exampleNumber, data.claimId);
|
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;
|
break;
|
||||||
|
|
||||||
case "execute claim":
|
case "execute claim":
|
||||||
|
|
|
@ -18,7 +18,7 @@ const config = local("/config");
|
||||||
|
|
||||||
// E X P O R T
|
// E X P O R T
|
||||||
|
|
||||||
export default function (state) {
|
export default state => {
|
||||||
return html`
|
return html`
|
||||||
<section class="email-subscribe-container">
|
<section class="email-subscribe-container">
|
||||||
${emailSubscribe()}
|
${emailSubscribe()}
|
||||||
|
@ -64,4 +64,4 @@ export default function (state) {
|
||||||
ga("send", "pageview");
|
ga("send", "pageview");
|
||||||
</script>
|
</script>
|
||||||
`;
|
`;
|
||||||
}
|
};
|
||||||
|
|
|
@ -12,7 +12,7 @@ import raw from "choo/html/raw";
|
||||||
|
|
||||||
// E X P O R T
|
// E X P O R T
|
||||||
|
|
||||||
export default function () {
|
export default () => {
|
||||||
return dedent`
|
return dedent`
|
||||||
<section class="tour">
|
<section class="tour">
|
||||||
<ul class="tour__navigation">
|
<ul class="tour__navigation">
|
||||||
|
@ -22,7 +22,7 @@ export default function () {
|
||||||
<section class="tour__content">${raw(example1())}</section>
|
<section class="tour__content">${raw(example1())}</section>
|
||||||
</section>
|
</section>
|
||||||
`;
|
`;
|
||||||
}
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
2
app/dist/scripts/sockets.js
vendored
2
app/dist/scripts/sockets.js
vendored
|
@ -59,7 +59,7 @@ function initializeWebSocketConnection() {
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
document.querySelector(".tour__content__meme__canvas__thumbnail").click();
|
document.querySelector(".tour__content__meme__canvas__thumbnail").click();
|
||||||
}, 100);
|
}, 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (document.getElementById("tour-example-description")) {
|
if (document.getElementById("tour-example-description")) {
|
||||||
|
|
Loading…
Reference in a new issue