I forgor 💀

This commit is contained in:
Michał Gdula 2023-02-05 15:14:53 +00:00
parent d313845196
commit 70ded2c95e

View file

@ -14,4 +14,15 @@
<a href="https://github.com/Fluffy-Bean" class="btn" data-value="Github">Github</a>
<button class="btn" data-value="Discord" id="discord">Discord</button>
</div>
<script>
document.getElementById("discord").onclick = function() {
try {
navigator.clipboard.writeText("Fluffy Bean#5212");
addToast("Copied to clipboard");
} catch (err) {
addToast("Error copying to clipboard, are you on HTTP?");
}
}
</script>
{% endblock %}