This commit is contained in:
Leandro Facchinetti 2021-04-12 11:43:09 +01:00
parent 23f6ee7c86
commit e3950b61fd
1 changed files with 15 additions and 19 deletions

View File

@ -212,9 +212,7 @@ export default function killTheNewsletter(
for (const copyable of document.querySelectorAll(".copyable")) for (const copyable of document.querySelectorAll(".copyable"))
copyable.insertAdjacentHTML( copyable.insertAdjacentHTML(
"afterend", "afterend",
$${"`"} $${"`"}$${html`<br />
$${html`
<br />
<button <button
type="button" type="button"
onclick="${javascript` onclick="${javascript`
@ -228,9 +226,7 @@ export default function killTheNewsletter(
`}" `}"
> >
Copy Copy
</button> </button>`}$${"`"}
`}
$${"`"}
); );
</script> </script>
</body> </body>